Skip to content

Fixed errors 3

Fixed errors 3 #4

Workflow file for this run

# File: .github/workflows/publish.yml
name: publish-to-github-pages
on:
push:
branches:
- website-dev
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install dependencies
run: npm ci
- name: Build project
run: npm run build
- name: Ensure out directory exists
run: mkdir -p out
- name: Archive artifact
run: tar -cvf out.tar out
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Publish to GitHub Pages 🚀
id: deployment
uses: actions/deploy-pages@v4