Skip to content

Commit

Permalink
update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
inciner8r committed Feb 29, 2024
1 parent 6941e9a commit efc91e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
docker pull ghcr.io/netsepio/sotreus-gateway:main
docker run --restart=on-failure:14 --dns=1.1.1.1 --name="sotreus-gateway" --env-file=.env -p 3000:3000 --net=bridge -d ghcr.io/netsepio/sotreus-gateway:main
- name: Deploy on PROD server
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/prod'
uses: appleboy/ssh-action@v0.1.7
with:
host: ${{ secrets.PROD_REMOTE_SERVER_ADDRESS }}
Expand Down

0 comments on commit efc91e2

Please sign in to comment.