Skip to content

Build and Deploy Scroll #233

Build and Deploy Scroll

Build and Deploy Scroll #233

Workflow file for this run

# Adapted from https://github.com/JamesIves/github-pages-deploy-action
name: Build and Deploy Scroll
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Install and Build
run: |
rm .gitignore
npm i -g cloc
npm install .
cd blog
echo "Installing packages for markups demo in blog."
mkdir node_modules
npm install marked textile-js ya-bbcode
cd ..
echo "Building blog."
./scroll.js list | ./scroll.js build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.1.4
with:
branch: wws # The branch the action should deploy to.
folder: .