diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f825513..b6f4175 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -18,13 +18,6 @@ jobs: runs-on: ubuntu-latest steps: - - name: HTTP Request Action - uses: fjogeleit/http-request-action@v1.14.1 - with: - url: ${{ env.PORTAINER_API_WEBHOOK }} - method: 'POST' - customHeaders: ${{ env.PORTAINER_API_KEY }} - - name: Checkout repository uses: actions/checkout@v2 @@ -52,4 +45,11 @@ jobs: push: true tags: | ${{ env.DOCKER_REGISTRY }}/obsessed-yanqing:latest - ${{ env.DOCKER_REGISTRY }}/obsessed-yanqing:${{ env.VERSION }} \ No newline at end of file + ${{ env.DOCKER_REGISTRY }}/obsessed-yanqing:${{ env.VERSION }} + + - name: Deploy to production + uses: fjogeleit/http-request-action@v1.14.1 + with: + url: ${{ env.PORTAINER_API_WEBHOOK }} + method: 'POST' + customHeaders: ${{ env.PORTAINER_API_KEY }} \ No newline at end of file