Release to Prod #107
Workflow file for this run
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: Release to Prod | |
on: | |
release: | |
types: [released] | |
jobs: | |
setup-release: | |
runs-on: ubuntu-latest | |
outputs: | |
git-tag: ${{ steps.tag.outputs.version }} | |
steps: | |
- name: Init | |
run: | | |
echo Deploy starting | |
# this allows for blame | |
echo ${{ github.actor }} | |
- name: Check release and env values | |
run: | | |
echo "Release tag: ${{ github.event.release.tag_name }}" | |
echo "Release name: ${{ github.event.release.name }}" | |
echo "string check: release (prod)?: ${{ github.event.action }}" | |
release: | |
needs: [setup-release] | |
uses: ./.github/workflows/release.yml | |
with: | |
environment: "prod" | |
git-tag: "${{ github.event.release.tag_name }}" | |
secrets: inherit | |
run-qa-suite: | |
needs: [release] | |
uses: ./.github/workflows/run-regression.yml | |
with: | |
environment: "prod" | |
secrets: inherit |