-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mr Dung
authored and
Mr Dung
committed
Feb 24, 2021
1 parent
87fedc4
commit 92ea53a
Showing
2 changed files
with
33 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package config | ||
|
||
var SourceYaml = `server: | ||
address: "{{ .Ip }}" | ||
user: "ec2-user" | ||
port: 22 | ||
dir: "/data/sites" | ||
project: "{{ .Project }}" | ||
repository: | ||
url: "{{ .Repo }}" | ||
branch: "master" | ||
# tag: "1.0.2" | ||
shared: | ||
folders: | ||
- "vendor" | ||
- "node_modules" | ||
files: | ||
- ".env" | ||
tasks: | ||
- "echo 'Hello!!'" | ||
cluster: | ||
hosts: | ||
# - "127.0.0.1" | ||
rsync: | ||
excludes: | ||
- ".env" | ||
- "*.log" | ||
cmds: | ||
- "uname -a" | ||
` |