Skip to content

Commit

Permalink
GitHub Actions 修正
Browse files Browse the repository at this point in the history
  • Loading branch information
tissueMO committed Feb 9, 2025
1 parent 6642382 commit f513194
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

- name: Pull Image
env:
GITHUB_REPOSITORY: ghcr.io/${{ github.repository }}/discord-extension
GITHUB_REPOSITORY: ${{ github.repository }}
run: |
docker pull ghcr.io/${GITHUB_REPOSITORY,,}/discord-extension:main
Expand All @@ -77,8 +77,10 @@ jobs:
echo "AWS_REGION=ap-northeast-1" >> .env
- name: Build and Deploy
env:
GITHUB_REPOSITORY: ${{ github.repository }}
run: |
docker run
--env-file .env \
ghcr.io/${{ github.repository }}/discord-extension:main \
ghcr.io/${GITHUB_REPOSITORY,,}/discord-extension:main \
./deploy.sh

0 comments on commit f513194

Please sign in to comment.