mirror of
https://github.com/kingomarnajjar/desktop-environment.git
synced 2026-07-29 05:00:35 +10:00
restart
This commit is contained in:
parent
87debf221f
commit
7be9a824a1
2 changed files with 1 additions and 17 deletions
|
|
@ -19,4 +19,4 @@ deploy:
|
|||
on:
|
||||
branch: master
|
||||
provider: script
|
||||
script: terraform/scripts/recycle-xpra.sh
|
||||
script: terraform/scripts/restart.sh
|
||||
|
|
|
|||
|
|
@ -1,16 +0,0 @@
|
|||
REPO_ROOT=$(dirname $(realpath $0))/../..
|
||||
|
||||
# Export desktop environment shell configuration
|
||||
export $($REPO_ROOT/docker/scripts/environment.sh)
|
||||
|
||||
# Authenticate with cloud service provider
|
||||
$REPO_ROOT/credentials/authenticate.sh
|
||||
|
||||
docker run \
|
||||
--env GOOGLE_APPLICATION_CREDENTIALS=$DESKTOP_ENVIRONMENT_HOST_REPOSITORY/credentials/google.json \
|
||||
--interactive \
|
||||
--rm \
|
||||
--tty \
|
||||
--volume $DESKTOP_ENVIRONMENT_HOST_REPOSITORY:$DESKTOP_ENVIRONMENT_HOST_REPOSITORY \
|
||||
--workdir $DESKTOP_ENVIRONMENT_HOST_REPOSITORY \
|
||||
hashicorp/terraform:light apply
|
||||
Loading…
Add table
Reference in a new issue