Added fields for grace period to collection file (#558) #67
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI/CD | |
on: | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- "Test/**" # ignore changes to tests | |
jobs: | |
test: | |
name: QA | |
uses: ./.github/workflows/test-application.yml | |
deploy-test: | |
name: Internal test | |
uses: ./.github/workflows/deploy-to-environment.yml | |
if: always() && !failure() && !cancelled() | |
permissions: | |
id-token: write | |
contents: read | |
packages: write | |
secrets: inherit | |
with: | |
environment: test | |
deploy-staging: | |
name: Staging | |
needs: [ | |
deploy-test, | |
] | |
uses: ./.github/workflows/deploy-to-environment.yml | |
if: (!failure() && !cancelled()) | |
permissions: | |
id-token: write | |
contents: read | |
packages: write | |
secrets: inherit | |
with: | |
environment: staging | |
deploy-production: | |
name: Production | |
needs: [ | |
deploy-staging, | |
] | |
uses: ./.github/workflows/deploy-to-environment.yml | |
if: (!failure() && !cancelled()) | |
permissions: | |
id-token: write | |
contents: read | |
packages: write | |
secrets: inherit | |
with: | |
environment: production | |
release-to-git: | |
name: Release to git | |
runs-on: ubuntu-latest | |
needs: [deploy-production] | |
if: ${{ !failure() && !cancelled()}} | |
permissions: | |
id-token: write | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: release | |
if: (!failure() && !cancelled()) | |
uses: ./.github/actions/release-to-git | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |