Skip to content

update

update #1

Workflow file for this run

name: Push To Server
on:
release:
types: [published]
push:
branches:
- github_workflow
jobs:
deploy:
runs-on: ubuntu-latest
name: deploy on remote
steps:
- uses: appleboy/[email protected]
with:
host: ${{ secrets.DC_HOST }}
username: ${{ secrets.DC_USER }}
password: ${{ secrets.DC_PASS }}
script: |
cd ~/Mess-Website
git pull origin main
docker compose down
docker mess-website-nginx || true
docker mess-website-web || true
docker compose up -d