-
Notifications
You must be signed in to change notification settings - Fork 210
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add code deploy configuration for staging environment
- Loading branch information
1 parent
1b25d34
commit ecda469
Showing
3 changed files
with
41 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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#! /bin/bash | ||
|
||
cd ~/akto/infra | ||
docker-compose -f docker-compose-dashboard.yml pull | ||
docker-compose -f docker-compose-dashboard.yml down | ||
docker-compose -f docker-compose-dashboard.yml up -d |
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,7 @@ | ||
version: 0.0 | ||
os: linux | ||
hooks: | ||
AfterInstall: | ||
- location: .github/scripts/deploy-script.sh | ||
timeout: 300 | ||
runas: root |