28 lines
1 KiB
YAML
28 lines
1 KiB
YAML
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
|
|
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
|
name: Docs Deploy
|
|
|
|
on: [workflow_dispatch]
|
|
|
|
permissions:
|
|
contents: read
|
|
packages: read
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: ⬇️ Checkout Code
|
|
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
|
|
|
|
- name: 🧑🔧 Get Core Dependencies
|
|
uses: ./.github/workflows/actions/get-core-dependencies
|
|
|
|
- run: pnpm run docs
|
|
env:
|
|
GITHUB_AUTH: ${{ secrets.GITHUB_TOKEN }}
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
DISTRIBUTION_ID: ${{ secrets.DISTRIBUTION_ID }}
|
|
DISTRIBUTION_ID_V6: ${{ secrets.DISTRIBUTION_ID_V6 }}
|
|
DISTRIBUTION_ID_V7: ${{ secrets.DISTRIBUTION_ID_V7 }}
|