Refactor staging deployments (#1986)
This commit is contained in:
parent
dd85c4c6c8
commit
66b68fc02e
2 changed files with 7 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
name: Deploy Dashboard 3.1 to latest staging
|
||||
name: Deploy Dashboard 3.1 to staging
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
|
@ -21,7 +21,7 @@ jobs:
|
|||
SENTRY_URL_PREFIX: "~/dashboard/static"
|
||||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
ENVIRONMENT: saleor-latest-staging
|
||||
ENVIRONMENT: saleor-staging-v31
|
||||
IS_CLOUD_INSTANCE: true
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -74,4 +74,4 @@ jobs:
|
|||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CLOUD_DEPLOYMENTS_WEBHOOK_URL }}
|
||||
JOB_TITLE: "Dashboard deployment to ${{ env.ENVIRONMENT }}"
|
||||
run: |
|
||||
python3 ./.github/workflows/notify/notify-slack.py
|
||||
python3 ./.github/workflows/notify/notify-slack.py
|
|
@ -1,8 +1,8 @@
|
|||
name: Deploy Dashboard 3.0 to stable staging
|
||||
name: Deploy Dashboard 3.2 to staging
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- 3.0**
|
||||
- 3.2**
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
git_ref:
|
||||
|
@ -21,7 +21,7 @@ jobs:
|
|||
SENTRY_URL_PREFIX: "~/dashboard/static"
|
||||
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
ENVIRONMENT: saleor-stable-staging
|
||||
ENVIRONMENT: saleor-staging-v32
|
||||
IS_CLOUD_INSTANCE: true
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
@ -73,4 +73,4 @@ jobs:
|
|||
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_CLOUD_DEPLOYMENTS_WEBHOOK_URL }}
|
||||
JOB_TITLE: "Dashboard deployment to ${{ env.ENVIRONMENT }}"
|
||||
run: |
|
||||
python3 ./.github/workflows/notify/notify-slack.py
|
||||
python3 ./.github/workflows/notify/notify-slack.py
|
Loading…
Reference in a new issue