Skip to content

Commit

Permalink
Update develop-push-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ok200paul committed Aug 14, 2024
1 parent a544e6e commit e2e4cc6
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/develop-push-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ on:
branches: [ develop ]

jobs:
run-tests:
build:

runs-on: ubuntu-latest

run-tests:
env:
stagingDeploySecret: ${{secrets.DEPLOY_URL_STAGING}}

runs-on: ubuntu-latest
services:
mysql:
image: mysql:5.7
Expand Down Expand Up @@ -54,7 +59,8 @@ jobs:
run: php artisan test
- name: Webhook
uses: joelwmale/webhook-action@master
if: ${{ env.stagingDeploySecret != 0 }}
env:
WEBHOOK_URL: ${{ secrets.DEPLOY_URL_STAGING_HEY }}
WEBHOOK_URL: ${{ secrets.DEPLOY_URL_STAGING }}
data: "Deploy VINE staging please!"

0 comments on commit e2e4cc6

Please sign in to comment.