From b3ec5cd46aa0aa98115345f0c6a79f0ffd904bdf Mon Sep 17 00:00:00 2001 From: Ivan Pavlovic Date: Thu, 20 Jun 2024 08:17:59 +0200 Subject: [PATCH] update paths for gh pages (#3712) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Ivan Pavlovic Co-authored-by: Ljubo Nikolić --- .github/workflows/pages.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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