mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-22 07:08:53 +01:00
set write permisison
This commit is contained in:
15
.github/workflows/build_documentation.yml
vendored
15
.github/workflows/build_documentation.yml
vendored
@@ -9,9 +9,9 @@ env:
|
|||||||
BUILD_TYPE: RELEASE
|
BUILD_TYPE: RELEASE
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: write # Required to push to gh-pages branch
|
||||||
pages: write
|
pages: write # Required for GitHub Pages deployment
|
||||||
id-token: write
|
id-token: write # Required for GitHub Pages deployment
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
@@ -27,6 +27,9 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
fetch-depth: 0 # Fetch all history for proper git operations
|
||||||
|
token: ${{ secrets.GITHUB_TOKEN }} # Use the default token
|
||||||
|
|
||||||
- name: Install System Packages
|
- name: Install System Packages
|
||||||
uses: awalsh128/cache-apt-pkgs-action@latest
|
uses: awalsh128/cache-apt-pkgs-action@latest
|
||||||
@@ -76,13 +79,13 @@ jobs:
|
|||||||
git push origin gh-pages
|
git push origin gh-pages
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user