Skip to content

Commit ad6ce4a

Browse files
committed
try pat
1 parent d2d8470 commit ad6ce4a

1 file changed

Lines changed: 2 additions & 5 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,5 @@ jobs:
2828
poetry run task lint
2929
- name: Push rendered project
3030
run: |
31-
cd build/
32-
mv .github .github_/ && cp -R ../.github/ .github/
33-
git commit -q --amend --no-edit
34-
git config --local http.https://github.com/.extraheader "$(git -C .. config --get http.https://github.com/.extraheader)"
35-
git push -fu $(git -C .. config --get remote.origin.url) rendered
31+
REMOTE=https://${GITHUB_ACTOR}:${{ secrets.GH_PAT }}@github.com/${GITHUB_REPOSITORY}.git
32+
git -C build push -fu $REMOTE rendered

0 commit comments

Comments
 (0)