wip
Build / build (push) Failing after 31s

This commit is contained in:
2026-08-27 13:00:29 +02:00
parent d4d3e6e574
commit f0c2bf4e97
+3 -19
View File
@@ -11,27 +11,11 @@ permissions:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v4 uses: actions/checkout@v5
with: with:
token: ${{ secrets.GITEA_TOKEN }} token: ${{ secrets.GITEA_TOKEN }}
persist-credentials: true
- name: Check token # rest of your steps
env:
TOKEN: ${{ secrets.GITEA_TOKEN }}
run: |
if [ -n "$TOKEN" ]; then
echo "GITEA_TOKEN is present"
else
echo "GITEA_TOKEN is EMPTY"
exit 1
fi
- name: Test Git authentication
env:
TOKEN: ${{ secrets.GITEA_TOKEN }}
run: |
git -c http.extraheader="Authorization: Bearer $TOKEN" \
ls-remote https://git.lukas-harat.com/lukas/promo_steakhouse.git