Use Head Ref for main PRs
All checks were successful
NodBot Production Dockerization / build (pull_request) Successful in 1m5s
All checks were successful
NodBot Production Dockerization / build (pull_request) Successful in 1m5s
This commit is contained in:
parent
f3051ec944
commit
6e062ffef2
2
.github/workflows/production-docker.yml
vendored
2
.github/workflows/production-docker.yml
vendored
@ -22,7 +22,7 @@ jobs:
|
|||||||
whoami
|
whoami
|
||||||
cd /root/nodbot
|
cd /root/nodbot
|
||||||
git pull
|
git pull
|
||||||
git checkout main
|
git checkout $GITHUB_HEAD_REF
|
||||||
- name: Build the Docker image
|
- name: Build the Docker image
|
||||||
run: |
|
run: |
|
||||||
cd /root/nodbot
|
cd /root/nodbot
|
||||||
|
Loading…
Reference in New Issue
Block a user