Skip to content

Commit

Permalink
💚 checkout to origin
Browse files Browse the repository at this point in the history
  • Loading branch information
Fredkiss3 committed Jan 5, 2024
1 parent 5295c60 commit 4ac8234
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/deploy-with-docker-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ jobs:
echo Pulling latest version...
GIT_BRANCH=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}
echo git branch=\$GIT_BRANCH
git checkout \$GIT_BRANCH
git pull origin \$GIT_BRANCH
git checkout origin/\$GIT_BRANCH
echo 'Build with docker (and cache)...🔄'
export DOCKER_BUILDKIT=1
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/deploy-with-docker-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@ jobs:
nvm use 20
echo Pulling latest version...
git checkout main
git pull origin main
git checkout origin/main
echo 'Build with docker (and cache)...🔄'
export DOCKER_BUILDKIT=1
Expand Down

0 comments on commit 4ac8234

Please sign in to comment.