diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml index 3818b23..fca1316 100644 --- a/.forgejo/workflows/publish.yaml +++ b/.forgejo/workflows/publish.yaml @@ -24,8 +24,9 @@ jobs: git config user.name "CI" git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" TOKEN=$(echo -n "x-access-token:${GITHUB_TOKEN}" | base64) - git -c http.extraHeader="Authorization: Basic ${TOKEN}" push origin -d pages + git -c http.extraHeader="Authorization: Basic ${TOKEN}" push origin -d pages || true git checkout -b pages git add * git commit -m "gen pages" + git log git -c http.extraHeader="Authorization: Basic ${TOKEN}" push -u origin pages