Skip to content

feat: react three fiber #10

feat: react three fiber

feat: react three fiber #10

Workflow file for this run

# This is a basic workflow to help you get started with Actions

Check failure on line 2 in .github/workflows/github-deploy.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/github-deploy.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
name: SAMURAI Deploy
# Controls when the workflow will run
on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v2
- uses: actions/cache@v2
id: cache
with:
path: ./node_modules
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install dependencies
if: steps.cache.outputs.cache-hit != 'true'
run: yarn --frozen-lockfile --network-concurrency 1
- name: Build Remix
run: yarn build
- name: Build Static
run: yarn build_static
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public