Skip to content

Merge pull request #53 from freezingsaddles/fix-deploy #2

Merge pull request #53 from freezingsaddles/fix-deploy

Merge pull request #53 from freezingsaddles/fix-deploy #2

Workflow file for this run

---
name: Deploy Latest
on: # yamllint disable-line
push:
branches:
- 'master'
jobs:
deploy:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: install
uses: appleboy/[email protected]
with:
host: ${{ secrets.HOST }}
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
port: ${{ secrets.PORT }}
passphrase: ${{ secrets.PASSPHRASE }}
script: |
set -euo pipefail
cd /opt/compose
git checkout master
git pull
docker compose pull
docker compose up -d