Skip to content

Commit

Permalink
Remove autodeploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Uxio0 committed Nov 3, 2022
1 parent d79c896 commit 48deba7
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,23 +110,3 @@ jobs:
run: bash scripts/deploy_docker.sh ${GITHUB_REF##*/}
env:
DOCKERHUB_PROJECT: safe-relay-service
autodeploy:
runs-on: ubuntu-latest
needs: [docker-deploy]
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop' || startsWith(github.ref, 'refs/tags/')
steps:
- uses: actions/checkout@v3
- name: Deploy Staging
if: github.ref == 'refs/heads/master'
run: bash scripts/autodeploy.sh
env:
AUTODEPLOY_URL: ${{ secrets.AUTODEPLOY_URL }}
AUTODEPLOY_TOKEN: ${{ secrets.AUTODEPLOY_TOKEN }}
TARGET_BRANCH: "staging"
- name: Deploy Develop
if: github.ref == 'refs/heads/develop'
run: bash scripts/autodeploy.sh
env:
AUTODEPLOY_URL: ${{ secrets.AUTODEPLOY_URL }}
AUTODEPLOY_TOKEN: ${{ secrets.AUTODEPLOY_TOKEN }}
TARGET_BRANCH: "develop"

0 comments on commit 48deba7

Please sign in to comment.