ci: checkout origin/update

This commit is contained in:
j-hc 2023-10-01 00:56:58 +03:00
parent a05813de5a
commit ddbbc195de
No known key found for this signature in database
GPG Key ID: B69B8F690911EFCC

View File

@ -20,7 +20,7 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
if ! git checkout update build.md; then
if ! git checkout origin/update build.md; then
echo "first time building!"
echo "SHOULD_BUILD=1" >> $GITHUB_OUTPUT
else