From 34dc79c684cdbfb9c23423397e1352124b6721a0 Mon Sep 17 00:00:00 2001 From: Nlkomaru Date: Sat, 6 Jan 2024 16:36:55 +0900 Subject: [PATCH] Fix github actions for deploy dokka pages --- .github/workflows/release.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 000a347..058049f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,14 +1,18 @@ name: Release Drafter on: + # Runs on pushes targeting the default branch push: - branches: - - master + branches: ["master"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: permissions: - contents: read + contents: write pages: write id-token: write + pull-requests: write # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. @@ -17,10 +21,7 @@ concurrency: cancel-in-progress: false jobs: - build: - permissions: - contents: write - pull-requests: write + deploy: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }}