Skip to content

Commit

Permalink
Update main-push-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ok200paul committed Nov 27, 2024
1 parent 367d86d commit 898fa9e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/main-push-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:

jobs:
run-tests:
env:
productionDeploySecret: ${{secrets.DEPLOY_URL_PRODUCTION}}

runs-on: ubuntu-latest

Expand Down Expand Up @@ -54,7 +56,7 @@ jobs:
run: php artisan test
- name: Webhook
uses: joelwmale/webhook-action@master
if: ${{ env.stagingDeploySecret != 0 }}
if: ${{ env.productionDeploySecret != 0 }}
env:
WEBHOOK_URL: ${{ secrets.DEPLOY_URL_PRODUCTION }}
data: "Deploy VINE please!"
Expand Down

0 comments on commit 898fa9e

Please sign in to comment.