We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96ef4d4 commit 3248789Copy full SHA for 3248789
1 file changed
.github/workflows/deploy.yml
@@ -51,19 +51,3 @@ jobs:
51
target: '/home/ubuntu/'
52
strip_components: 1
53
54
- - name: Extract and Deploy on EC2
55
- uses: appleboy/ssh-action@master
56
- with:
57
- host: ${{ secrets.EC2_HOST }}
58
- username: ${{ secrets.EC2_USERNAME }}
59
- key: ${{ secrets.EC2_SSH_PRIVATE_KEY }}
60
- script: |
61
- cd /home/ubuntu/
62
- tar -xzf build.tar.gz
63
- sudo rm -rf /etc/nginx/html/*
64
- sudo mv * /etc/nginx/html/
65
- cd /etc/nginx/html
66
- yarn install --frozen-lockfile
67
- pm2 restart to-hero
68
- sudo docker exec nginx nginx -s reload
69
- rm -f /home/ubuntu/build.tar.gz
0 commit comments