diff options
author | 2019-01-02 19:49:28 +0100 | |
---|---|---|
committer | 2019-01-02 19:49:28 +0100 | |
commit | f98ced0bb40efe6c698c23467be756067e31c1c6 (patch) | |
tree | a71e07a6e28b689b70c2953819ba3c04da0274cb | |
parent | Fixing error in advent of code countdown by removing datetime prefixes (diff) |
Remove autodeploy via `pepper`.
-rw-r--r-- | azure-pipelines.yml | 1 | ||||
-rwxr-xr-x | scripts/deploy-azure.sh | 8 |
2 files changed, 0 insertions, 9 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 2b43cc57..15fac3b9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -65,4 +65,3 @@ jobs: inputs: scriptPath: scripts/deploy-azure.sh - args: '$(SALTAPI_TARGET) $(SALTAPI_USER) $(SALTAPI_PASS) $(SALTAPI_URL)' diff --git a/scripts/deploy-azure.sh b/scripts/deploy-azure.sh index abefbf6b..ad7bfb26 100755 --- a/scripts/deploy-azure.sh +++ b/scripts/deploy-azure.sh @@ -2,11 +2,6 @@ cd .. -export SALTAPI_USER=$2 -export SALTAPI_PASS=$3 -export SALTAPI_URL=$4 -export SALTAPI_EAUTH=pam - # Build and deploy on master branch, only if not a pull request if [[ ($BUILD_SOURCEBRANCHNAME == 'master') && ($SYSTEM_PULLREQUEST_PULLREQUESTID == '') ]]; then echo "Building image" @@ -14,9 +9,6 @@ if [[ ($BUILD_SOURCEBRANCHNAME == 'master') && ($SYSTEM_PULLREQUEST_PULLREQUESTI echo "Pushing image to Docker Hub" docker push pythondiscord/seasonalbot:latest - - echo "Deploying on server" - pepper $1 state.apply docker/seasonalbot --out=no_out --non-interactive &> /dev/null else echo "Skipping deploy" fi |