Skip to content

Create build folder and remove it from gitignor #35

Create build folder and remove it from gitignor

Create build folder and remove it from gitignor #35

Workflow file for this run

on:
push:
branches:
- master
name: πŸš€ Deploy to GitHub Pages
jobs:
deploy:
name: πŸŽ‰ Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v4
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: '20'
- name: πŸ”¨ Install dependencies and build project
run: |
npm install
npm run build
- name: πŸ“‚ Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build