Skip to content

Commit

Permalink
fix: pull the docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
cilasmarques committed Jul 19, 2024
1 parent 4353246 commit 5efb14c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
NEXT_PUBLIC_CONTENTFUL_ACCESS_TOKEN=${{ secrets.NEXT_PUBLIC_CONTENTFUL_ACCESS_TOKEN }}
NEXT_PUBLIC_CONTENTFUL_SPACE=${{ secrets.NEXT_PUBLIC_CONTENTFUL_SPACE }}
- name: Pull the latest image
run: sudo docker pull ${{ vars.DOCKER_IMAGE_BETA }}:latest

- name: Stop existing container
run: sudo docker rm -f ${{ vars.CONTAINER_NAME_BETA }} || true

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-oca.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ jobs:
NEXT_PUBLIC_CONTENTFUL_ACCESS_TOKEN=${{ secrets.NEXT_PUBLIC_CONTENTFUL_ACCESS_TOKEN }}
NEXT_PUBLIC_CONTENTFUL_SPACE=${{ secrets.NEXT_PUBLIC_CONTENTFUL_SPACE }}
- name: Pull the latest image
run: sudo docker pull ${{ vars.DOCKER_IMAGE_PROD }}:latest

- name: Stop existing container
run: sudo docker rm -f ${{ vars.CONTAINER_NAME_PROD }} || true

Expand Down

0 comments on commit 5efb14c

Please sign in to comment.