Skip to content

fixed github action #61

fixed github action

fixed github action #61

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: 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