File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -34,14 +34,10 @@ jobs:
3434 if : github.ref == 'refs/heads/master'
3535 needs : [build_docs]
3636 runs-on : ubuntu-latest
37- permissions :
38- contents : write
3937 steps :
4038 - name : Checkout `bitcoindevkit.org`
4139 uses : actions/checkout@v4
4240 with :
43- persist-credentials : false
44- ssh-key : ${{ secrets.DOCS_PUSH_SSH_KEY }}
4541 repository : bitcoindevkit/bitcoindevkit.org
4642 ref : master
4743 - name : Create directories
5450 name : built-docs
5551 path : ./docs/.vuepress/public/docs-rs/bdk/nightly/latest
5652 - name : Configure git
57- run : git config user.email "github-actions@github.com" && git config user.name "github-actions"
53+ run : |
54+ git config user.name "github-actions"
55+ git config user.email "github-actions@github.com"
56+ git remote remove origin
57+ git remote add origin https://x-access-token:${APP_TOKEN}@github.com/${GITHUB_ORG}/bitcoindevkit.org.git
58+ git fetch origin
5859 - name : Commit
5960 continue-on-error : true # If there's nothing to commit this step fails, but it's fine
6061 run : git add ./docs/.vuepress/public/docs-rs && git commit -m "Publish autogenerated nightly docs"
You can’t perform that action at this time.
0 commit comments