♻️ Add links to wiki in ReadMe (#91) #56
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: CICD Pipeline | |
on: | |
push: | |
branches: ["main"] | |
paths-ignore: | |
- .gitignore | |
workflow_dispatch: | |
jobs: | |
build-site: | |
uses: ./.github/workflows/build-static-site.yml | |
secrets: inherit | |
deploy-staging: | |
uses: ./.github/workflows/deploy.yml | |
with: | |
environment: staging | |
url: https://staging.sswdory.com | |
secrets: inherit | |
needs: build-site | |
approval-gate: | |
runs-on: ubuntu-latest | |
needs: deploy-staging | |
environment: "prod-approval" | |
concurrency: | |
cancel-in-progress: true | |
group: prod-approval | |
steps: | |
- name: Approved | |
shell: bash | |
run: | | |
echo "Approved for Prod" | |
deploy-prod: | |
uses: ./.github/workflows/deploy.yml | |
with: | |
environment: prod | |
secrets: inherit | |
needs: approval-gate | |