diff --git a/.github/workflows/github-actions-dev.yaml b/.github/workflows/github-actions-dev.yaml index 8448a95..b7933a3 100644 --- a/.github/workflows/github-actions-dev.yaml +++ b/.github/workflows/github-actions-dev.yaml @@ -66,14 +66,11 @@ jobs: needs: build steps: - - name: Recreate .env file & login GHCR + - name: set env & deploy run: | - pwd + cd /home/ubuntu/deploy/front 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 docker-compose.front.yaml down sudo docker-compose -f docker-compose.front.yaml pull