Skip to content

Commit

Permalink
👷 github-actions self-hosted runner hot-fix#3 directory
Browse files Browse the repository at this point in the history
  • Loading branch information
TopazKang committed Sep 2, 2024
1 parent be9d5bc commit 23d935b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/github-actions-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@ jobs:
- name: Recreate .env file & login GHCR
run: |
pwd
echo "${{ secrets.ENV_FILE_DEV }}" > front/.env
echo "${{ secrets.ENV_FILE_DEV }}" > .env
echo "${{ secrets.GHCR_TOKEN }}" | sudo docker login ghcr.io -u ${{ secrets.GIT_USER }} --password-stdin
- name: Prune Docker Images and Deploy With Docker-Compose
run: |
sudo docker image prune -a -f
sudo docker-compose -f front/docker-compose.front.yaml down
sudo docker-compose -f front/docker-compose.front.yaml pull
sudo docker-compose -f front/docker-compose.front.yaml up -d
sudo docker-compose -f docker-compose.front.yaml down
sudo docker-compose -f docker-compose.front.yaml pull
sudo docker-compose -f docker-compose.front.yaml up -d

0 comments on commit 23d935b

Please sign in to comment.