Skip to content

Removed archiving step and let the upload action handle taring the file #27

Removed archiving step and let the upload action handle taring the file

Removed archiving step and let the upload action handle taring the file #27

Workflow file for this run

name: Publish to github pages
on:
push:
branches: ["master"]
workflow_dispatch:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 20
- name: Build palaten_api spec
run: npx redoc-cli build -o build/openapi/palaten_api/index.html openapi/palaten_api.yaml
- name: Build Vuepress
run: cd docs && npm install && npm run build && mv src/.vuepress/dist/* ../build
- name: Upload GitHub Pages artifact
uses: actions/[email protected]
with:
path: build
- name: Deploy GitHub Pages site
uses: actions/[email protected]