Use Head Ref for main PRs
NodBot Production Dockerization / build (pull_request) Successful in 1m5s Details

This commit is contained in:
Skylar Grant 2023-08-08 14:39:32 -04:00
parent f3051ec944
commit 6e062ffef2
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ jobs:
whoami
cd /root/nodbot
git pull
git checkout main
git checkout $GITHUB_HEAD_REF
- name: Build the Docker image
run: |
cd /root/nodbot