Use Head Ref for main PRs
All checks were successful
NodBot Production Dockerization / build (pull_request) Successful in 1m5s

This commit is contained in:
Skylar Grant 2023-08-08 14:39:32 -04:00
parent f3051ec944
commit 6e062ffef2

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