Fix branch references

This commit is contained in:
Skylar Grant 2024-09-23 18:51:34 -04:00
parent 65470f2c57
commit 70fc12d458

View File

@ -10,14 +10,12 @@ env:
DHUB_PWORD: ${{ secrets.DHUB_PWORD }}
jobs:
build:
runs-on: self-hosted
steps:
- name: Pull latest from Git
run: |
echo "Branch: ${{ gitea.head_ref }}"
pwd
whoami
mkdir -p /var/lib/act_runner/
@ -29,7 +27,7 @@ jobs:
cd nodbot
git pull
fi
git checkout ${{ gitea.ref}}
git checkout ${{ gitea.head_ref }}
- name: Build the Docker image
run: |
cd /var/lib/act_runner/nodbot