Smooth scroll #3081
Workflow file for this run
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
name: On Deployment | |
on: push | |
jobs: | |
wait_for_deploy_complete: | |
runs-on: ubuntu-latest | |
outputs: | |
url: ${{ steps.deployment.outputs.url }} | |
steps: | |
- id: deployment | |
uses: patrickedqvist/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
max_timeout: 480 | |
- name: Display deployment URL | |
run: "echo Preview URL: ${{steps.deployment.outputs.url}}" | |
check_links: | |
runs-on: ubuntu-latest | |
needs: wait_for_deploy_complete | |
steps: | |
- uses: actions/[email protected] | |
- name: Install dependencies | |
uses: pnpm/action-setup@v4 | |
with: | |
run_install: true | |
- name: Run broken-link-checker | |
if: ${{ success() }} | |
run: pnpm broken-link-checker ${{needs.wait_for_deploy_complete.outputs.url}} | |
algolia_crawler: | |
runs-on: ubuntu-latest | |
needs: wait_for_deploy_complete | |
if: github.ref == 'refs/heads/main' | |
steps: | |
- name: Algolia crawler creation and crawl | |
if: ${{ success() }} | |
uses: algolia/[email protected] | |
id: algolia_crawler | |
with: | |
crawler-user-id: ${{ secrets.CRAWLER_USER_ID }} | |
crawler-api-key: ${{ secrets.CRAWLER_API_KEY }} | |
crawler-name: ${{ secrets.CRAWLER_NAME }} | |
algolia-app-id: ${{ secrets.ALGOLIA_APP_ID }} | |
algolia-api-key: ${{ secrets.ALGOLIA_API_KEY }} | |
site-url: "https://www.inngest.com/docs" |