-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
6 deletions.
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 |
---|---|---|
@@ -1,15 +1,14 @@ | ||
ENVIRONMENT=production | ||
REPOSITORY=Stichting-CROW/fietsberaad-veiligstallen-app | ||
REPOSITORY=mosbuma/fietsberaad-veiligstallen-app | ||
# gh api --method PUT -H "Accept: application/vnd.github+json" repos/$REPOSITORY/environments/$ENVIRONMENT | ||
|
||
#publish or update the workflow variables | ||
gh variable set -f ./github/variables.env | ||
|
||
#publish or update secret azure publish profile (set separately because it is a multiline value) | ||
gh secret set -a actions AZUREAPPSERVICE_PUBLISHPROFILE_VEILIGSTALLEN < ./github/vstfb-eu-acc-app01.PublishSettings | ||
gh variable set AZUREAPPSERVICE_PUBLISHPROFILE_VEILIGSTALLEN < ./github/vstfb-eu-acc-app01.PublishSettings | ||
|
||
#publish or update remainder of the secrets are set in a single file | ||
# cat ./github/secrets.env | ||
# gh secret set -a actions -f ./github/secrets.env | ||
# gh secret set -a actions AZUREAPPSERVICE_PUBLISHPROFILE_VEILIGSTALLEN -f ./github/secrets.env | ||
|
||
#enable the ci/cd action | ||
gh workflow enable azure-webapps-node.yml |
Oops, something went wrong.