Add --score-sets and --raw option docs to list custom-formats #195
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@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 19 | |
cache: yarn | |
- name: Install Dependencies | |
run: yarn install | |
- name: Build | |
run: yarn build | |
- name: Publish | |
uses: cloudflare/pages-action@v1 | |
if: | | |
github.ref == 'refs/heads/master' || | |
github.ref == 'refs/heads/next' | |
with: | |
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
projectName: recyclarr-wiki | |
directory: build | |
gitHubToken: ${{ secrets.GITHUB_TOKEN }} | |
- name: Algolia Crawl | |
uses: algolia/[email protected] | |
if: github.ref == 'refs/heads/master' | |
with: | |
crawler-user-id: ${{ secrets.CRAWLER_USER_ID }} | |
crawler-api-key: ${{ secrets.CRAWLER_API_KEY }} | |
algolia-app-id: ${{ secrets.ALGOLIA_APP_ID }} | |
algolia-api-key: ${{ secrets.ALGOLIA_API_KEY }} | |
site-url: 'https://recyclarr.dev' | |
crawler-name: recyclarr |