b633b9e00d6841eed253c9c519c0e7fc0b4e3f35
.github/main.workflow
... | ... | @@ -0,0 +1,10 @@ |
1 | +workflow "Deploy" { |
|
2 | + on = "push" |
|
3 | + resolves = ["ssh"] |
|
4 | +} |
|
5 | + |
|
6 | +action "ssh" { |
|
7 | + uses = "ssh" |
|
8 | + args = "cd /root/wiki-olinfo && git pull" |
|
9 | + secrets = ["PUBLIC_KEY", "HOST", "USER", "PRIVATE_KEY"] |
|
10 | +} |