File tree Expand file tree Collapse file tree 1 file changed +8
-9
lines changed
Expand file tree Collapse file tree 1 file changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -60,12 +60,11 @@ jobs:
6060
6161 # Deploy to gh-pages branch directly
6262 - name : Deploy to gh-pages
63- uses : peaceiris/actions-gh-pages@v4
64- with :
65- github_token : ${{ secrets.GITHUB_TOKEN }}
66- publish_dir : ./combined
67- publish_branch : gh-pages
68- force_orphan : true
69- user_name : ' github-actions[bot]'
70- user_email : ' github-actions[bot]@users.noreply.github.com'
71- commit_message : ' Deploy: ${{ github.event.head_commit.message }}'
63+ run : |
64+ cd combined
65+ git init
66+ git config user.name 'github-actions[bot]'
67+ git config user.email 'github-actions[bot]@users.noreply.github.com'
68+ git add .
69+ git commit -m 'Deploy: ${{ github.event.head_commit.message }}'
70+ git push --force https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/gHashTag/trinity.git HEAD:gh-pages
You can’t perform that action at this time.
0 commit comments