Skip to content

Commit bcd0524

Browse files
committed
Use different deploy action so that bot account is used
1 parent 6c98f02 commit bcd0524

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

.github/workflows/docs.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ jobs:
2121
cd mkdocs
2222
mkdocs build -d ../target
2323
- name: Deploy
24-
uses: JamesIves/github-pages-deploy-action@releases/v3
24+
uses: crazy-max/ghaction-github-pages@v1
2525
with:
26-
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
27-
BRANCH: gh-pages # The branch the action should deploy to.
28-
FOLDER: target # The folder the action should deploy.
26+
target_branch: gh-pages
27+
build_dir: target # The folder the action should deploy.
28+
committer_name: X2CommunityCore-Docs-Bot
29+
env:
30+
GITHUB_PAT: ${{ secrets.ACCESS_TOKEN }}

0 commit comments

Comments
 (0)