Skip to content

Commit

Permalink
Merge pull request #15 from openfoodfoundation/feature/prepping-staging
Browse files Browse the repository at this point in the history
Update develop-push-deploy.yml
  • Loading branch information
ok200paul authored Aug 14, 2024
2 parents 68096a7 + e2e4cc6 commit dcc3686
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 dcc3686

Please sign in to comment.