From e838b0fa9a65f48c11e234689e0eae4a87f0b46f Mon Sep 17 00:00:00 2001 From: "Luke Tainton (ltainton)" Date: Mon, 27 Nov 2023 13:52:28 +0000 Subject: [PATCH] fix(ci): wait for Docker build before updating Portainer --- .github/workflows/release.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6518806..94c9b22 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,7 +23,7 @@ jobs: tag: ${{ steps.tag_version.outputs.new_tag }} name: ${{ steps.tag_version.outputs.new_tag }} body: ${{ steps.tag_version.outputs.changelog }} - + publish: name: GitHub Container Registry runs-on: ubuntu-latest @@ -42,10 +42,11 @@ jobs: deploy: name: Update Portainer Deployment runs-on: ubuntu-latest + needs: publish steps: - uses: fjogeleit/http-request-action@v1 with: url: ${{ secrets.PORTAINER_WEBHOOK_URL }} method: POST timeout: 30000 - preventFailureOnNoResponse: 'true' + preventFailureOnNoResponse: "true"