Skip to content

feat: Add configurable search engine indexing behavior [internal] #231

feat: Add configurable search engine indexing behavior [internal]

feat: Add configurable search engine indexing behavior [internal] #231

Workflow file for this run

name: Docs PR Previews
on:
pull_request:
types: [opened, synchronize, reopened, closed]
concurrency:
cancel-in-progress: false
group: 'docs-pr-previews-${{ github.event.pull_request.number }}'
jobs:
trigger-preview:
if: github.event.action != 'closed'
runs-on: ubuntu-latest
steps:
- name: Trigger preview
run: gh workflow run apify_docs_pr.yml --repo apify/apify-docs-private --field pr-number=${{ github.event.pull_request.number }} --field original-repository=${{ github.repository }}
env:
GH_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}
delete-preview:
if: github.event.action == 'closed'
runs-on: ubuntu-latest
steps:
- name: Delete preview
run: gh workflow run apify_docs_pr.yml --repo apify/apify-docs-private --field pr-number=${{ github.event.pull_request.number }} --field original-repository=${{ github.repository }} --field action=delete
env:
GH_TOKEN: ${{ secrets.APIFY_SERVICE_ACCOUNT_GITHUB_TOKEN }}