Updated flows with redeploys
This commit is contained in:
parent
629bf91d4f
commit
c609634b98
2 changed files with 17 additions and 1 deletions
|
@ -69,7 +69,7 @@ jobs:
|
|||
needs: [ build-site ]
|
||||
if: success()
|
||||
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:
|
||||
- name: Configure Dockge CLI
|
||||
run: |
|
||||
|
|
|
@ -63,3 +63,19 @@ jobs:
|
|||
release-dir: release
|
||||
token: ${{ secrets.FORGEJO_TOKEN }}
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue