This commit is contained in:
Marcus Felling 2022-12-05 10:51:54 -06:00
Родитель e34caf44b8
Коммит 91769e87eb
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 89EBCF55B58D842F
4 изменённых файлов: 19 добавлений и 1 удалений

6
.github/workflows/podcast-api.yml поставляемый
Просмотреть файл

@ -20,6 +20,9 @@ jobs:
name: 'staging'
if: "!contains(github.ref, 'refs/heads/main')"
uses: ./.github/workflows/template-api.yml
concurrency:
group: staging
cancel-in-progress: true
secrets: inherit
with:
environment: staging
@ -28,6 +31,9 @@ jobs:
name: 'prod'
if: contains(github.ref, 'refs/heads/main')
uses: ./.github/workflows/template-api.yml
concurrency:
group: prod
cancel-in-progress: true
secrets: inherit
with:
environment: prod

6
.github/workflows/podcast-hub.yml поставляемый
Просмотреть файл

@ -43,6 +43,9 @@ jobs:
needs: build
if: "!contains(github.ref, 'refs/heads/main')"
uses: ./.github/workflows/template-hub.yml
concurrency:
group: staging
cancel-in-progress: true
secrets: inherit
with:
environment: staging
@ -52,6 +55,9 @@ jobs:
needs: build
if: contains(github.ref, 'refs/heads/main')
uses: ./.github/workflows/template-hub.yml
concurrency:
group: prod
cancel-in-progress: true
secrets: inherit
with:
environment: prod

6
.github/workflows/podcast-web.yml поставляемый
Просмотреть файл

@ -67,6 +67,9 @@ jobs:
needs: build
if: "!contains(github.ref, 'refs/heads/main')"
uses: ./.github/workflows/template-web.yml
concurrency:
group: staging
cancel-in-progress: true
secrets: inherit
with:
environment: staging
@ -76,6 +79,9 @@ jobs:
needs: build
if: contains(github.ref, 'refs/heads/main')
uses: ./.github/workflows/template-web.yml
concurrency:
group: prod
cancel-in-progress: true
secrets: inherit
with:
environment: prod

2
.github/workflows/template-api.yml поставляемый
Просмотреть файл

@ -9,7 +9,7 @@ jobs:
buildPushDeploy:
environment:
name: ${{ inputs.environment }}
runs-on: ubuntu-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3