Updated docker deploy workflow
Build and Push Docker Images / build-and-push (./admin_ui, admin_ui) (push) Successful in 1m17s
Build and Push Docker Images / build-and-push (./auth_api, auth_api) (push) Successful in 59s
Build and Push Docker Images / build-and-push (./error_log_api, error_log_api) (push) Has been cancelled
Build and Push Docker Images / build-and-push (./transit_api, transit_api) (push) Has been cancelled
Build and Push Docker Images / deploy-test-node (push) Has been cancelled
Build and Push Docker Images / build-and-push (./employee_api, employee_api) (push) Has been cancelled
Build and Push Docker Images / build-and-push (./admin_ui, admin_ui) (push) Successful in 1m17s
Build and Push Docker Images / build-and-push (./auth_api, auth_api) (push) Successful in 59s
Build and Push Docker Images / build-and-push (./error_log_api, error_log_api) (push) Has been cancelled
Build and Push Docker Images / build-and-push (./transit_api, transit_api) (push) Has been cancelled
Build and Push Docker Images / deploy-test-node (push) Has been cancelled
Build and Push Docker Images / build-and-push (./employee_api, employee_api) (push) Has been cancelled
This commit is contained in:
@@ -76,3 +76,15 @@ jobs:
|
||||
context: ${{ matrix.context }}
|
||||
push: ${{ gitea.event_name == 'push' }}
|
||||
tags: ${{ steps.tags.outputs.tags }}
|
||||
|
||||
deploy-test-node:
|
||||
needs: build-and-push
|
||||
if: ${{ gitea.event_name == 'push' && gitea.ref_name == 'main' }}
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Redeploy Portainer stack
|
||||
shell: bash
|
||||
run: curl --fail --silent --show-error --retry 3 --max-time 30 -X POST "$PORTAINER_WEBHOOK_URL"
|
||||
env:
|
||||
PORTAINER_WEBHOOK_URL: ${{ secrets.PORTAINER_WEBHOOK_URL }}
|
||||
|
||||
Reference in New Issue
Block a user