File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,10 +42,18 @@ jobs:
4242 dotnet build src/bunit.web/ --no-restore -p:version=$VERSION
4343 dotnet build src/bunit.xunit/ --no-restore -p:version=$VERSION
4444 dotnet build docs/
45- - name : Deploy
46- uses : JamesIves/github-pages-deploy-action@releases/v3
45+ name : Deploy to GitHub Pages
46+ if : success()
47+ uses : crazy-max/ghaction-github-pages@v2
4748 with :
48- ACCESS_TOKEN : ${{ secrets.GITHUB_TOKEN }}
49- BRANCH : gh-pages # The branch the action should deploy to.
50- FOLDER : docs/_site # The folder the action should deploy.
51- CLEAN : true
49+ target_branch : gh-pages
50+ build_dir : docs/_site
51+ env :
52+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
53+ # - name: Deploy
54+ # uses: JamesIves/github-pages-deploy-action@releases/v3
55+ # with:
56+ # ACCESS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
57+ # BRANCH: gh-pages # The branch the action should deploy to.
58+ # FOLDER: docs/_site # The folder the action should deploy.
59+ # CLEAN: true
You can’t perform that action at this time.
0 commit comments