fix(deps): update docusaurus monorepo to v3.6.3 #437
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: Deploy Site | |
on: | |
push: | |
paths: | |
- .github/workflows/build-and-deploy.yml | |
- "docs/**" | |
- "src/**" | |
- "static/**" | |
- "**.js" | |
- "**.json" | |
- "**.lock" | |
pull_request: | |
paths: | |
- .github/workflows/build-and-deploy.yml | |
- "docs/**" | |
- "src/**" | |
- "static/**" | |
- "**.js" | |
- "**.json" | |
- "**.lock" | |
jobs: | |
build: | |
name: Deploy Site | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
deployments: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 19 | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn install | |
- name: Build | |
run: yarn build | |
- name: Publish | |
uses: cloudflare/pages-action@v1 | |
# Publish all direct pushes to the repo, for secrets access. But ignore pull requests. | |
# Non-master branches get published with a temporary URL (not the main site URL). | |
if: github.event_name != 'pull_request' | |
with: | |
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
projectName: recyclarr-wiki | |
directory: build | |
gitHubToken: ${{ secrets.GITHUB_TOKEN }} |