Consolidate the two secrets environments
This commit is contained in:
parent
fa28d2400b
commit
0ab7cd05c7
1 changed files with 3 additions and 3 deletions
6
.github/workflows/deploy_develop.yaml
vendored
6
.github/workflows/deploy_develop.yaml
vendored
|
@ -11,7 +11,7 @@ on:
|
||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
environment: deploy_develop
|
environment: develop
|
||||||
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request'
|
if: github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.event == 'pull_request'
|
||||||
steps:
|
steps:
|
||||||
- name: Find Artifact ID
|
- name: Find Artifact ID
|
||||||
|
@ -48,8 +48,8 @@ jobs:
|
||||||
- name: Notify the redeploy script
|
- name: Notify the redeploy script
|
||||||
uses: distributhor/workflow-webhook@v2
|
uses: distributhor/workflow-webhook@v2
|
||||||
env:
|
env:
|
||||||
webhook_url: ${{ secrets.WEBHOOK_URL }}
|
webhook_url: ${{ secrets.DEVELOP_DEPLOY_WEBHOOK_URL }}
|
||||||
webhook_secret: ${{ secrets.WEBHOOK_SECRET }}
|
webhook_secret: ${{ secrets.DEVELOP_DEPLOY_WEBHOOK_SECRET }}
|
||||||
data: '{"url": "${{ steps.find_artifact.outputs.result }}"}'
|
data: '{"url": "${{ steps.find_artifact.outputs.result }}"}'
|
||||||
|
|
||||||
- name: Update deployment status
|
- name: Update deployment status
|
||||||
|
|
Loading…
Add table
Reference in a new issue