File tree Expand file tree Collapse file tree 1 file changed +7
-17
lines changed Expand file tree Collapse file tree 1 file changed +7
-17
lines changed Original file line number Diff line number Diff line change @@ -2,32 +2,22 @@ name: Deploy
2
2
3
3
on :
4
4
push :
5
- branches :
5
+ branches :
6
6
- ' main'
7
7
8
8
jobs :
9
9
build :
10
-
11
10
runs-on : ubuntu-latest
12
11
13
12
steps :
14
- - uses : actions/checkout@v1
15
-
16
- - name : Copy repository contents via scp
17
- uses : appleboy/scp-action@master
18
- with :
19
- host : ${{ secrets.HOST }}
20
- username : ${{ secrets.USERNAME }}
21
- port : ${{ secrets.PORT }}
22
- key : " ${{ secrets.SSHKEY }}"
23
- source : " ."
24
- target : " ${{ secrets.PATH }}"
25
-
26
- - name : Executing remote command
27
- uses : appleboy/ssh-action@v1.0.3
13
+ - name : Executing remote deploy commands
14
+ uses : appleboy/ssh-action@v1.2.2
28
15
with :
29
16
host : ${{ secrets.HOST }}
30
17
username : ${{ secrets.USERNAME }}
31
18
port : ${{ secrets.PORT }}
32
19
key : ${{ secrets.SSHKEY }}
33
- script : ${{ secrets.SCRIPT }}
20
+ script : |
21
+ cd webs/femtolink.jaumelopez.dev
22
+ git pull
23
+ docker compose up -d --build
You can’t perform that action at this time.
0 commit comments