mirror of
https://github.com/kou029w/chirimen-hands-on.git
synced 2025-01-18 16:08:13 +00:00
25 lines
513 B
YAML
25 lines
513 B
YAML
name: github-pages
|
|
on:
|
|
push:
|
|
branches: main
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- run: make build
|
|
- uses: actions/upload-pages-artifact@v2
|
|
with:
|
|
path: dist
|
|
deploy:
|
|
environment:
|
|
name: github-pages
|
|
url: ${{ steps.deploy.outputs.page_url }}
|
|
permissions:
|
|
pages: write
|
|
id-token: write
|
|
needs: build
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- id: deploy
|
|
uses: actions/deploy-pages@v2
|