Skip to content

v3.1.1

v3.1.1 #69

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main # Set a branch to deploy
- synolib2 # publish on change in either branch
permissions:
contents: write
jobs:
build-pages:
concurrency: ci-${{ github.ref }} # Recommended if you intend to make multiple deployments in quick succession.
runs-on: ubuntu-22.04
steps:
- name: "Checkout synolib2 branch"
uses: actions/checkout@v3
with:
ref: synolib2
- name: Setup Deno
uses: denoland/setup-deno@v2
with:
deno-version: v2.x
- name: Draw the rest of the owl
run: |
deno task example_build
mkdir ./build
cp ./example/index.* ./build/
- name: Deploy to GitHub Pages
uses: JamesIves/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-pages
folder: build