-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add autodeploy github actions step with nginx auth script * Change branch name from master to main * Update minor fixes for the githubactions pipeline * Update minor fix in github actions dependencies * Change name of env var TARGET_BRANCH to TARGET_ENV * Change name of github action step * Change condition of autodeploy step * Remove unnecessary dependency for job
- Loading branch information
Showing
2 changed files
with
23 additions
and
0 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
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,10 @@ | ||
#!/bin/bash | ||
|
||
set -ev | ||
|
||
curl -s --output /dev/null --write-out "%{http_code}" \ | ||
-H "Content-Type: application/json" \ | ||
-X POST \ | ||
-u "$AUTODEPLOY_TOKEN" \ | ||
-d '{"push_data": {"tag": "'$TARGET_ENV'" }}' \ | ||
$AUTODEPLOY_URL |