Skip to content

Update deploy.yml

Update deploy.yml #2

Workflow file for this run

# This is a basic workflow to automatically build a Svelte app and deploy it to GitHub Pages
name: Deploy to GitHub Pages
permissions:
contents: write
on:
push:
branches: [ main ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install and Build
run: |
npm install
npm run build
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@4.1.5
with:
branch: gh-pages
folder: dist