Skip to content

Workflow file for this run

name: Continuous Deployment
on:
workflow_dispatch:
push:
branches:
- production
paths-ignore:
- .gitignore
- README.md
- start-database.sh
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: executing deploy via ssh
uses: appleboy/[email protected]
with:
host: ${{secrets.HOST}}
username: ${{secrets.USERNAME}}
password: ${{secrets.PASS}}
script: |
cd docker_compose_struct/site-struct-2024/
git pull
docker compose restart web