Skip to content

Deploy to GitHub Pages #50

Deploy to GitHub Pages

Deploy to GitHub Pages #50

Workflow file for this run

on:
push:
tags:
- v*
workflow_dispatch:
name: Deploy to GitHub Pages
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: "16"
- run: npm ci
- run: npm run gh-pages
- name: Deploy to gh-pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
keep_files: true
cname: cdn.tei-publisher.com