Skip to content

adjust to new deploy #28

adjust to new deploy

adjust to new deploy #28

Workflow file for this run

name: Build and deploy
on:
push:
branches:
- main
# paths:
# - src/**
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 16
- run: |
npm install
npm run build
echo 'https://yab.kaizokulabs.com' > out/CNAME
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: gh-pages-build

Check failure on line 31 in .github/workflows/build.yml

View workflow run for this annotation

GitHub Actions / Build and deploy

Invalid workflow file

The workflow is not valid. .github/workflows/build.yml (Line: 31, Col: 12): Job 'deploy' depends on unknown job 'gh-pages-build'.
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2