|
@@ -8,7 +8,7 @@ on:
|
|
|
|
|
|
jobs:
|
|
jobs:
|
|
build:
|
|
build:
|
|
- name: Build and publish
|
|
|
|
|
|
+ name: Build
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
steps:
|
|
- name: Set up Node.js
|
|
- name: Set up Node.js
|
|
@@ -39,13 +39,11 @@ jobs:
|
|
|
|
|
|
# https://github.com/actions/deploy-pages?tab=readme-ov-file#usage
|
|
# https://github.com/actions/deploy-pages?tab=readme-ov-file#usage
|
|
deploy:
|
|
deploy:
|
|
|
|
+ name: Deploy
|
|
needs: build
|
|
needs: build
|
|
permissions:
|
|
permissions:
|
|
pages: write
|
|
pages: write
|
|
id-token: write
|
|
id-token: write
|
|
- environment:
|
|
|
|
- name: github-pages
|
|
|
|
- url: ${{ steps.deployment.outputs.page_url }}
|
|
|
|
runs-on: ubuntu-latest
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
steps:
|
|
- name: Deploy to GitHub Pages
|
|
- name: Deploy to GitHub Pages
|