Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Commit

Permalink
Update auto deploy to work with the new config on AWS Crypto machine (#…
Browse files Browse the repository at this point in the history
…395)

* Update auto deploy work with the new config on AWS Crypto machine

* Hide AWS Crypto machine host in GitHub secret
  • Loading branch information
Michał Sieczkowski authored Oct 14, 2021
1 parent 424b9fd commit 83335b3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,12 @@ jobs:
- name: Deploy to AWS
uses: appleboy/ssh-action@master
with:
host: ec2-3-237-17-229.compute-1.amazonaws.com
host: ${{ secrets.AWS_CRYPTO_HOST }}
username: ec2-user
key: ${{ secrets.AWS_SSH_KEY }}
key: ${{ secrets.AWS_CRYPTO_SSH_KEY }}
script_stop: true
script: |
cd deployment/
docker-compose pull
docker-compose up -d commander
docker images -f "before=ghcr.io/worldcoin/hubble-commander:latest" -f "dangling=true" -q ghcr.io/worldcoin/hubble-commander | xargs docker image rm || true

0 comments on commit 83335b3

Please sign in to comment.