Skip to content

🎉 Begin a project #1

🎉 Begin a project

🎉 Begin a project #1

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main # Set a branch to deploy
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '18' # Set the version of Node.js
- name: Install Dependencies
run: npm ci
- name: Build
run: npm run build # Run the build script
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist # Set the folder of the build output