Style fix #355
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 install . | |
./scroll.js build | |
cp blog/favicon.ico . | |
cd blog | |
echo "Installing packages for markups demo in blog." | |
mkdir node_modules | |
npm install marked textile-js ya-bbcode | |
echo "Building blog." | |
../scroll.js build | |
cd .. | |
cd tests/kitchenSink | |
../../scroll.js build | |
- name: Deploy 🚀 | |
uses: JamesIves/github-pages-deploy-action@4.1.4 | |
with: | |
branch: scroll-output # The branch the action should deploy to. | |
folder: . |