Skip to content

Commit

Permalink
Checkout commit instead of pulling
Browse files Browse the repository at this point in the history
  • Loading branch information
mustyoshi committed Jan 19, 2025
1 parent f527ffd commit 6023220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: self-hosted
steps:
- name: Pull
run: cd /home/mustyoshi/Github/congress-dev && GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git pull
run: cd /home/mustyoshi/Github/congress-dev && GIT_SSH_COMMAND="ssh -o StrictHostKeyChecking=no" git checkout ${GITHUB_SHA}
- name: Build containers
run: cd /home/mustyoshi/Github/congress-dev && docker-compose -f .docker/docker-compose.yml -f .docker/docker-compose.prod.yml build
- name: Deploy
Expand Down

0 comments on commit 6023220

Please sign in to comment.