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

Commit d579f26

Browse files
authored
Merge pull request #115 from SELab-2/deployement
Deployement
2 parents 6d4bfba + ed1764e commit d579f26

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/deployement.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Deploy
2+
on:
3+
push:
4+
branches:
5+
- main
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+
docker-compose -f production.yml down
21+
${{ secrets.PULL_SCRIPT }}
22+
docker-compose -f production.yml build --no-cache
23+
docker-compose -f production.yml up -d

0 commit comments

Comments
 (0)