Deploy Published Image #79
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy Published Image | |
on: | |
workflow_call: | |
workflow_run: | |
workflows: [Docker Build & Publish] | |
types: | |
- completed | |
jobs: | |
update-docker-image: | |
if: ${{ github.event.workflow_run.conclusion == 'success' }} | |
name: Update Docker Image & Restart | |
runs-on: self-hosted | |
steps: | |
- run: cd /srv/docker/ccinvoice && docker compose pull && docker compose up -d --force-recreate |