Updated flows with redeploys
All checks were successful
/ get-version (push) Successful in 3s
/ astro-check (push) Successful in 13s

This commit is contained in:
Firq 2024-09-28 15:41:07 +02:00
parent 629bf91d4f
commit c609634b98
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
2 changed files with 17 additions and 1 deletions

View file

@ -69,7 +69,7 @@ jobs:
needs: [ build-site ] needs: [ build-site ]
if: success() if: success()
runs-on: docker runs-on: docker
container: forgejo.neshweb.net/firq/dockge-cli:0.1.1-c.2 container: forgejo.neshweb.net/firq/dockge-cli:0.1.1
steps: steps:
- name: Configure Dockge CLI - name: Configure Dockge CLI
run: | run: |

View file

@ -63,3 +63,19 @@ jobs:
release-dir: release release-dir: release
token: ${{ secrets.FORGEJO_TOKEN }} token: ${{ secrets.FORGEJO_TOKEN }}
tag: ${{ github.ref_name }} tag: ${{ github.ref_name }}
auto-deploy-dockge:
needs: [ build-site ]
if: success()
runs-on: docker
container: forgejo.neshweb.net/firq/dockge-cli:0.1.1
steps:
- name: Configure Dockge CLI
run: |
dockge host '${{ vars.DOCKGE_HOST }}'
dockge login --user '${{ secrets.DOCKGE_USER }}' --password '${{ secrets.DOCKGE_CREDENTIAL }}'
- name: Check status and redeploy
run: |
dockge status fgo-ta-com
dockge update fgo-ta-com
dockge status fgo-ta-com