diff options
| author | Dante Niewenhuis <d.niewenhuis@hotmail.com> | 2026-05-12 11:09:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-05-12 11:09:33 +0200 |
| commit | a35f0bb8571ef0635e113b99f2c122dcc1448af5 (patch) | |
| tree | 5a0134f7f44a291c04e071df484828a43e77fedc /.github | |
| parent | 00ea410b9c53b41a23c978ef781bd93bec628026 (diff) | |
Added a forced pull of images to deploy.yml (#415)
* Added workflow_dispatch to all github Actions so they can be triggered from Github.com directly
* Add a pull to deploy.yml so it does not use the image from cache
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/deploy.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2ba9e2b1..08e537fc 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -21,5 +21,7 @@ jobs: SSH_KNOWN_HOSTS: ${{secrets.SSH_KNOWN_HOSTS}} - name: Pull Changes run: ssh -i ../opendc.key opendc@opendc.org 'cd /opt/opendc && git pull origin' + - name: Pull Images + run: ssh -i ../opendc.key opendc@opendc.org 'cd /opt/opendc && source .env && docker-compose -f docker-compose.yml -f docker-compose.prod.yml pull' - name: Deploy Images run: ssh -i ../opendc.key opendc@opendc.org 'cd /opt/opendc && source .env && docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d' |
