diff --git a/.github/workflows/deploy-prod.yaml b/.github/workflows/deploy-prod.yaml index 23f27c9..c83cf95 100644 --- a/.github/workflows/deploy-prod.yaml +++ b/.github/workflows/deploy-prod.yaml @@ -53,9 +53,9 @@ jobs: host: ${{ secrets.PROD_SERVER_HOST }} username: ${{ secrets.PROD_SERVER_USERNAME }} key: ${{ secrets.PROD_SERVER_PEM_KEY }} - envs: - DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} - DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} - script: | - chmod +x /home/${{ secrets.PROD_SERVER_USERNAME }}/scripts/zero-downtime-deploy.sh - /home/${{ secrets.PROD_SERVER_USERNAME }}/scripts/zero-downtime-deploy.sh \ No newline at end of file + env: + DOCKERHUB_USERNAME: ${{ secrets.DOCKERHUB_USERNAME }} + DOCKERHUB_TOKEN: ${{ secrets.DOCKERHUB_TOKEN }} + script: | + chmod +x /home/${{ secrets.PROD_SERVER_USERNAME }}/scripts/zero-downtime-deploy.sh + /home/${{ secrets.PROD_SERVER_USERNAME }}/scripts/zero-downtime-deploy.sh \ No newline at end of file