Skip to content

Move to github actions (#316) #1

Move to github actions (#316)

Move to github actions (#316) #1

Workflow file for this run

name: Deploy spec to gh-pages
on:
push:
branches:
- master
permissions:
contents: write
concurrency:
group: gh-pages-deploy
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
- name: Deploy (build + push to gh-pages)
env:
GH_REF: github.com/${{ github.repository }}.git
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: bash ./deploy.sh