build: update phylum-ci
submodule to v0.54.0
(#243)
#208
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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: '69485888+phylum-bot@users.noreply.github.com' | |
run: npm run deploy |