Skip to content

Merge pull request #53 from freezingsaddles/dependabot/pip/requests-2… #3

Merge pull request #53 from freezingsaddles/dependabot/pip/requests-2…

Merge pull request #53 from freezingsaddles/dependabot/pip/requests-2… #3

Workflow file for this run

---
name: Build and Deploy Latest
on:
push:
branches:
- 'master'
jobs:
build:
uses: freezingsaddles/freezing-web/.github/workflows/[email protected]
concurrency: build-deploy-and-test
with:
tag: latest
repo: freezing-sync
secrets: inherit
deploy:
concurrency: build-deploy-and-test
needs: build
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
docker-compose pull freezing-sync
docker-compose up -d freezing-sync