Skip to content

Commit

Permalink
Update gradle-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
KarmaPol authored Jan 12, 2024
1 parent 47c5bf5 commit 1713b79
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/gradle-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:
contents: read

jobs:
build:
ci:

runs-on: ubuntu-latest

Expand Down Expand Up @@ -43,3 +43,16 @@ jobs:

- name: Docker Push
run: docker push ${{secrets.DOCKERHUB_REPOSITORY}}/daldal-api:latest


cd:
needs: ci
runs-on: ubuntu-latest

steps:

- name: Trigger Portainer Webhook
run: |
PORTAINER_WEBHOOK_URL="https://portainer:9443/api/webhooks/638e6967-ef77-4906-8af8-236800621360"
curl -X POST -d "{}" -H "Content-Type: application/json" --insecure $PORTAINER_WEBHOOK_URL

0 comments on commit 1713b79

Please sign in to comment.