Skip to content

fix: upgrade ky from 1.5.0 to 1.6.0 #41

fix: upgrade ky from 1.5.0 to 1.6.0

fix: upgrade ky from 1.5.0 to 1.6.0 #41

Workflow file for this run

name: Publish Documentation
on:
workflow_dispatch:
push:
branches:
- 'master'
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: 'pages'
cancel-in-progress: false
jobs:
publish-docs:
environment:
name: hlsdownloader_docs_url
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: latest
cache: 'npm'
- name: Version Check
run: node -v && npm -v
- name: Install dependencies
run: npm ci
- name: 'Generate documents'
run: npm run docs:gen
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: './docs'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4