mirror of
https://github.com/badges/shields.git
synced 2026-11-21 16:06:35 +03:00
* require node 22/npm 10 or 11 * run package tests on node 24 * delete future builds * run everything on node 22 instead of 20 * update docs
33 lines
587 B
YAML
33 lines
587 B
YAML
name: Deploy Documentation
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
jobs:
|
|
deploy-docs:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Setup
|
|
uses: ./.github/actions/setup
|
|
with:
|
|
node-version: 22
|
|
|
|
- name: Build
|
|
run: npm run build-docs
|
|
|
|
- name: Deploy
|
|
uses: JamesIves/github-pages-deploy-action@v4
|
|
with:
|
|
branch: gh-pages
|
|
folder: api-docs
|
|
clean: true
|