From 257c9e98de787da4c0144eb537635adae7f7bc7e Mon Sep 17 00:00:00 2001 From: Antonio Ojea Date: Tue, 17 Dec 2024 21:07:46 +0000 Subject: [PATCH] fix github pages job Change-Id: Iecb1cf7324e68085972d706a52bd0aef76d4ae94 --- .github/workflows/deploy-github-pages.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-github-pages.yml b/.github/workflows/deploy-github-pages.yml index 9b6b718..159399d 100644 --- a/.github/workflows/deploy-github-pages.yml +++ b/.github/workflows/deploy-github-pages.yml @@ -20,12 +20,14 @@ on: - main paths: - 'site/**' + - '.github/workflows/deploy-github-pages.yml' pull_request: + paths: + - 'site/**' + - '.github/workflows/deploy-github-pages.yml' permissions: - contents: read - pages: write - id-token: write + contents: write env: REPO_NAME: ${{ github.event.repository.name }} @@ -55,3 +57,4 @@ jobs: if: ${{ github.ref == 'refs/heads/main' }} with: github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./site/public