File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -43,13 +43,15 @@ jobs:
4343
4444 - name : Test template in demo repo
4545 # if: github.ref_name == 'main' && github.event_name != 'pull_request'
46+ env :
47+ GH_TOKEN : ${{ secrets.GH_TOKEN }}
4648 run : |
4749
4850 # Delete the current repository
4951 rm -rf .git
5052
5153 # Setup the destination repository
52- git clone git@ github.com: jacebrowning/template-python-demo.git temp
54+ git clone https:// github.com/ jacebrowning/template-python-demo temp
5355 mv temp/.git TemplateDemo/.git
5456 rm -rf temp
5557 cd TemplateDemo
6264 # Rebuild the repository from the generated files and push to GitHub
6365 git add --all
6466 git commit -m "Deploy GHA build ${{ github.run_id }} to GitHub"
65- git push
67+ git push -f https://${GH_TOKEN}@github.com/jacebrowning/template-python-demo main
You can’t perform that action at this time.
0 commit comments