Skip to content

Commit

Permalink
environment が必要か確認する
Browse files Browse the repository at this point in the history
  • Loading branch information
tfandkusu committed Aug 15, 2024
1 parent 2b66c50 commit 3be6a30
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand All @@ -24,17 +28,14 @@ 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
uses: actions/checkout@v4
- 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
Expand Down

0 comments on commit 3be6a30

Please sign in to comment.