Skip to content

build: bump static site Javascript dependencies (#263) #224

build: bump static site Javascript dependencies (#263)

build: bump static site Javascript dependencies (#263) #224

Workflow file for this run

# Workflow for updating the documentation website
---
name: Update Documentation
# Documentation updates can happen in different ways; allow only one at a time
concurrency: release
on:
# Allow running this workflow manually from the Actions tab
workflow_dispatch:
push:
branches:
- main
jobs:
Update-Documentation:
name: Update the documentation
runs-on: ubuntu-latest
steps:
- name: Checkout the repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: true
# Full history needed to show correct last update time/author
# Ref: https://github.com/facebook/docusaurus/issues/2798
fetch-depth: 0
- name: Install local website package
working-directory: ./site
run: npm ci
- name: Build documentation website
working-directory: ./site
run: npm run build
- name: Deploy documentation website
working-directory: ./site
env:
GIT_USER: 'phylum-bot'
GIT_PASS: ${{ secrets.GH_RELEASE_PAT }}
GIT_USER_NAME: 'phylum-bot'
GIT_USER_EMAIL: '[email protected]'
run: npm run deploy