Skip to content

Commit

Permalink
Merge pull request #51 from t1nyb0x/develop
Browse files Browse the repository at this point in the history
ワークフロー調整
  • Loading branch information
t1nyb0x authored Nov 15, 2024
2 parents 77724c0 + 2852481 commit adec575
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,7 @@ jobs:
SSH_USER: ${{ secrets.SSH_USER }}
VPS_HOST: ${{ secrets.VPS_HOST }}
SSH_PORT: ${{ secrets.SSH_PORT }}
ENV: ${{ secrets.ENVIRONMENT }}
TOKEN: ${{ secrets.PRODUCTION_TOKEN }}
run: |
ssh -o StrictHostKeyChecking=no -i ~/.ssh/deploy_key $SSH_USER@$VPS_HOST -p $SSH_PORT \
'docker pull ghcr.io/t1nyb0x/discord-twitter-embed-rx:latest && \
docker run -d --env NODE_ENV=$ENV --env PRODUCTION_TOKEN=$TOKEN ghcr.io/t1nyb0x/discord-twitter-embed-rx:latest'
docker run -d --env NODE_ENV=${{ secrets.ENVIRONMENT }} --env PRODUCTION_TOKEN=${{ secrets.PRODUCTION_TOKEN }} ghcr.io/t1nyb0x/discord-twitter-embed-rx:latest'

0 comments on commit adec575

Please sign in to comment.