mirror of
https://github.com/UiO-Gaming/mustaboard.git
synced 2026-11-05 13:56:52 +01:00
Update deploy.yml
This commit is contained in:
1 parent
1b2b1da1a2
commit
cd3692e1d0
1 file changed
+1
-1
@@ -18,7 +18,7 @@ jobs:
|
||||
ssh-keyscan -H ${{ secrets.SSH_HOST }} > ~/.ssh/known_hosts
|
||||
|
||||
- name: Correct file permissions
|
||||
run: chmod -R u+w .
|
||||
run: sudo chown -R $USER:$USER .
|
||||
|
||||
- name: Connect, pull, build and deploy
|
||||
run: ssh ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }} "cd ${{ secrets.WORK_DIR }} && git checkout ${{ secrets.MAIN_BRANCH }} && git pull && docker compose down && docker compose up -d --build && exit"
|
||||
|
||||
Reference in new issue
Block a user