Skip to content

fix deploy

fix deploy #3

Workflow file for this run

# Basic workflow to automatically build a Svelte app and deploy it to GitHub Pages
name: Deploy to GitHub Pages
on:
push:
branches:
- master
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Use Node.js '20.x'
uses: actions/setup-node@v1
with:
node-version: '20.x'
- run: npm install
- run: npm run build
- name: Build and Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: public