From 3be6a308886a66492bf423bc092d178e6d27d9f2 Mon Sep 17 00:00:00 2001 From: Haruhiko Takada Date: Thu, 15 Aug 2024 11:46:28 +0900 Subject: [PATCH] =?UTF-8?q?environment=20=E3=81=8C=E5=BF=85=E8=A6=81?= =?UTF-8?q?=E3=81=8B=E7=A2=BA=E8=AA=8D=E3=81=99=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/static.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 769e83b..e40cfee 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -5,7 +5,11 @@ on: # Runs on pushes targeting the default branch push: branches: ["main"] - + pull_request: + types: + - opened + - synchronize + - reopened # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -24,9 +28,6 @@ concurrency: jobs: # Single deploy job since we're just deploying deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - name: Checkout @@ -34,7 +35,7 @@ jobs: - run: mkdir dist - uses: docker://pandoc/core:latest with: - args: screens.md -s -o dist/index.html + args: actions.md -s -o dist/index.html - name: Setup Pages uses: actions/configure-pages@v5 - name: Upload artifact