Skip to content

Commit

Permalink
Updating deployment policies
Browse files Browse the repository at this point in the history
  • Loading branch information
ok200paul committed Nov 27, 2024
1 parent 6107359 commit 367d86d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/develop-push-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,6 @@ jobs:
env:
WEBHOOK_URL: ${{ secrets.DEPLOY_URL_STAGING }}
data: "Deploy VINE staging please!"
with:
url: ${{ secrets.DEPLOY_URL_STAGING }}

6 changes: 5 additions & 1 deletion .github/workflows/feature-push-nodeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@ name: Features

on:
push:
branches: [ feature/* ]
branches: [
feature/*,
fix/*
hotfix/*
]

jobs:
run-tests:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/main-push-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,11 @@ jobs:
DB_PASSWORD:
DB_PORT: ${{ job.services.mysql.ports[3306] }}
run: php artisan test
# TODO: Deploy
- name: Webhook
uses: joelwmale/webhook-action@master
if: ${{ env.stagingDeploySecret != 0 }}
env:
WEBHOOK_URL: ${{ secrets.DEPLOY_URL_PRODUCTION }}
data: "Deploy VINE please!"
with:
url: ${{ secrets.DEPLOY_URL_PRODUCTION }}

0 comments on commit 367d86d

Please sign in to comment.