Skip to content

Commit

Permalink
Attempt fixing webhook_url missing
Browse files Browse the repository at this point in the history
  • Loading branch information
mobeigi committed Aug 15, 2024
1 parent bce1a5f commit b45a9ec
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/mobeigi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,25 @@ jobs:

deploy:
runs-on: ubuntu-latest
needs: [ build_test_app, build_test_server ]
needs: [build_test_app, build_test_server]
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
steps:
- name: Deploy App (via webhook)
uses: distributhor/workflow-webhook@v2
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}
webhook_secret: ${{ secrets.WEBHOOK_SECRET }}
data: '{
"DOCKER_COMPOSE_PROJECT_NAME": "${{ vars.APP_DOCKER_COMPOSE_PROJECT_NAME }}",
"GIT_REPOSITORY_NAME": "${{ vars.GIT_REPOSITORY_NAME }}"
}'
- name: Deploy App (via webhook)
uses: distributhor/workflow-webhook@v2
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}
webhook_secret: ${{ secrets.WEBHOOK_SECRET }}
data: '{
"DOCKER_COMPOSE_PROJECT_NAME": "${{ vars.APP_DOCKER_COMPOSE_PROJECT_NAME }}",
"GIT_REPOSITORY_NAME": "${{ vars.GIT_REPOSITORY_NAME }}"
}'

- name: Deploy Server (via webhook)
uses: distributhor/workflow-webhook@v2
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}
webhook_secret: ${{ secrets.WEBHOOK_SECRET }}
data: '{
"DOCKER_COMPOSE_PROJECT_NAME": "${{ vars.SERVER_DOCKER_COMPOSE_PROJECT_NAME }}",
"GIT_REPOSITORY_NAME": "${{ vars.GIT_REPOSITORY_NAME }}"
}'
- name: Deploy Server (via webhook)
uses: distributhor/workflow-webhook@v2
with:
webhook_url: ${{ secrets.WEBHOOK_URL }}
webhook_secret: ${{ secrets.WEBHOOK_SECRET }}
data: '{
"DOCKER_COMPOSE_PROJECT_NAME": "${{ vars.SERVER_DOCKER_COMPOSE_PROJECT_NAME }}",
"GIT_REPOSITORY_NAME": "${{ vars.GIT_REPOSITORY_NAME }}"
}'

0 comments on commit b45a9ec

Please sign in to comment.