Skip to content

Commit

Permalink
Trigger deployment on Coolify on main builds
Browse files Browse the repository at this point in the history
  • Loading branch information
frankbille committed Sep 5, 2024
1 parent 57fcd5a commit 1dda83b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,12 @@ jobs:
# This step uses the identity token to provision an ephemeral certificate
# against the sigstore community Fulcio instance.
run: echo "${TAGS}" | xargs -I {} cosign sign --yes {}@${DIGEST}

deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Trigger deploy to Coolify on Oracle Cloud
if: ${{ github.event_name != 'pull_request' }}
run: |
curl --request GET '${{ secrets.COOLIFY_WEBHOOK }}' --header 'Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}'

0 comments on commit 1dda83b

Please sign in to comment.