ci: update release action to overwrite gh_pages
This commit is contained in:
parent
570c9a494b
commit
570e68e910
1 changed files with 6 additions and 3 deletions
9
.github/workflows/continuous-integration.yml
vendored
9
.github/workflows/continuous-integration.yml
vendored
|
|
@ -84,6 +84,8 @@ jobs:
|
||||||
needs: lint-clang
|
needs: lint-clang
|
||||||
name: ${{ matrix.target.name }}
|
name: ${{ matrix.target.name }}
|
||||||
runs-on: ${{ matrix.target.runs-on }}
|
runs-on: ${{ matrix.target.runs-on }}
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
container: ${{ matrix.target.container }}
|
container: ${{ matrix.target.container }}
|
||||||
timeout-minutes: ${{ matrix.target.timeout }}
|
timeout-minutes: ${{ matrix.target.timeout }}
|
||||||
strategy:
|
strategy:
|
||||||
|
|
@ -315,10 +317,11 @@ jobs:
|
||||||
|
|
||||||
- name: Update Development Documentation
|
- name: Update Development Documentation
|
||||||
if: matrix.target.like == 'arch' && github.ref == 'refs/heads/master'
|
if: matrix.target.like == 'arch' && github.ref == 'refs/heads/master'
|
||||||
uses: JamesIves/github-pages-deploy-action@v4.8.0
|
uses: peaceiris/actions-gh-pages@v4
|
||||||
with:
|
with:
|
||||||
branch: gh-pages
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
folder: build/docs/dev/html
|
publish_dir: build/docs/dev/html
|
||||||
|
force_orphan: true
|
||||||
|
|
||||||
- name: Upload
|
- name: Upload
|
||||||
uses: actions/upload-artifact@v7
|
uses: actions/upload-artifact@v7
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue