Skip to content
This repository was archived by the owner on Oct 9, 2025. It is now read-only.

Commit 44f6add

Browse files
committed
feat(deployement): auto pull
1 parent 6594064 commit 44f6add

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/deployement.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Deploy
2+
on:
3+
push:
4+
branches:
5+
- deployement
6+
7+
jobs:
8+
deploy:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Deploy
12+
uses: appleboy/ssh-action@master
13+
with:
14+
host: ${{ secrets.HOST }}
15+
username: ${{ secrets.USERNAME }}
16+
key: ${{ secrets.SSH_KEY }}
17+
port: ${{ secrets.PORT }}
18+
script: |
19+
cd UGent-7
20+
${{ secrets.PULL_SCRIPT }}
21+
docker-compose -f production.yml build --no-cache
22+
docker-compose -f production.yml up -d

0 commit comments

Comments
 (0)