diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 359509df257..415d9e66801 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -6,15 +6,16 @@ on: - master paths: - 'docs/*.md' - - 'docs/quickstart' - 'docs/developer' - - 'docs/design' + - 'docs/logo/**/*' - '*.md' - '.github/workflows/pages.yml' jobs: deploy-gh-pages: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout master uses: actions/checkout@v4 @@ -31,10 +32,7 @@ jobs: run: | cp master/docs/*.md gh-pages/ rm gh-pages/docs-readme.md - cp -r master/docs/quickstart gh-pages/ - cp master/docs/quickstart/index.md gh-pages/quickstart.md cp -r master/docs/developer gh-pages/ - cp -r master/docs/design gh-pages/ cp master/CODE_OF_CONDUCT.md master/CONTRIBUTING.md gh-pages/_pages/ - name: Commit GH Pages