From 97e9d99ae4dc5e8a2d34273d5bd14ff431804be1 Mon Sep 17 00:00:00 2001 From: evann Date: Thu, 20 Jul 2023 23:02:50 +0200 Subject: [PATCH] Other test --- .github/workflows/main.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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