Skip to content

Fix monaco editor in static site #26

Fix monaco editor in static site

Fix monaco editor in static site #26

# Adapted from https://github.com/JamesIves/github-pages-deploy-action
name: Build and Deploy Static Site
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install and Build
run: |
npm install .
sudo apt-get install cloc
npm run static
# The line below is needed if you have *.html in your gitignore file
rm .gitignore
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: scroll-output # The branch the action should deploy to.
folder: ignore/static/