From 1cca2cddf884c96c7540b39fdfafb7443cd4aa59 Mon Sep 17 00:00:00 2001 From: ffalt Date: Sat, 23 Mar 2024 14:34:47 +0100 Subject: [PATCH] update gh-pages action --- .github/workflows/publish.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d7e88ab..efb5361 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,6 +2,8 @@ name: publish on: workflow_dispatch: +permissions: + contents: write jobs: publish: name: Publish @@ -30,9 +32,7 @@ jobs: touch ./dist/.nojekyll - name: Deploy to GH Pages branch 🚀 - uses: JamesIves/github-pages-deploy-action@releases/v4 + uses: JamesIves/github-pages-deploy-action@v4 with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH: gh-pages # The branch the action should deploy to. - FOLDER: dist # The folder the action should deploy. - CLEAN: true + folder: dist + clean: true