-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix environment, draft release deploy
- Loading branch information
1 parent
1447ae4
commit 79d7614
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Deploy Release | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
|
||
deploy-test: | ||
uses: ./.github/workflows/deploy-web.yml | ||
with: | ||
deploy-env: test | ||
secrets: inherit | ||
|
||
deploy-prod: | ||
runs-on: ubuntu-latest | ||
environment: prod | ||
needs: deploy-test | ||
steps: | ||
- run: | | ||
echo ${{ secrets.ENVIRONMENTSECRET }} | ||
echo "Deployment is $deploymentvalue" | ||
name: deploy | ||
# ...deployment-specific steps |
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