Skip to content

Merge pull request #5 from HendrikSchmidt/dependabot/npm_and_yarn/esl… #297

Merge pull request #5 from HendrikSchmidt/dependabot/npm_and_yarn/esl…

Merge pull request #5 from HendrikSchmidt/dependabot/npm_and_yarn/esl… #297

Workflow file for this run

# This is a basic workflow to automatically build a Sveltekit app and deploy it to GitHub Pages
name: Build & Deploy to GitHub Pages
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
repository_dispatch:
types: [deploy-prod]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install and Build
run: |
npm install
npm run build
- name: Deploy to GitHub Pages
if: ${{ github.ref == 'refs/heads/master' }}
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: build