Skip to content

Commit

Permalink
fix: action argument
Browse files Browse the repository at this point in the history
  • Loading branch information
kyY00n committed Oct 16, 2024
1 parent 1b68a14 commit 0f48304
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/backend-build-alpha-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,10 @@ jobs:
aws ecr get-login-password --region ${{ secrets.AWS_REGION }} | docker login --username AWS --password-stdin ${{ secrets.ECR_LOGIN_PASSWORD }}
- name: CD on EC2
uses: zip-go/[email protected]
instanceName: ${{ secrets.ALPHA_INSTANCE_NAME }}
workingDirectory: ${{ secrets.ALPHA_WORKING_DIRECTORY }}
command: |
rm .env
echo IMAGE_TAG=${{ github.sha }} > .env
docker compose restart zipgo-backend
with:
instanceName: ${{ secrets.ALPHA_INSTANCE_NAME }}
workingDirectory: ${{ secrets.ALPHA_WORKING_DIRECTORY }}
commands: |
rm .env
echo IMAGE_TAG=${{ github.sha }} > .env
docker compose restart zipgo-backend
9 changes: 5 additions & 4 deletions .github/workflows/frontend-deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ jobs:
aws-region: ${{ secrets.AWS_REGION }}
- name: CD on EC2
uses: zip-go/[email protected]
instanceName: ${{ secrets.ALPHA_INSTANCE_NAME }}
workingDirectory: ${{ secrets.ALPHA_WORKING_DIRECTORY }}
command: |
docker compose restart zipgo-frontend
with:
instanceName: ${{ secrets.ALPHA_INSTANCE_NAME }}
workingDirectory: ${{ secrets.ALPHA_WORKING_DIRECTORY }}
commands: |
docker compose restart zipgo-frontend

0 comments on commit 0f48304

Please sign in to comment.