Fix ffmpeg install on macos #541
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: docs-preview | |
on: | |
pull_request: | |
jobs: | |
build: | |
name: Build and deploy docs website preview | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python and uv | |
uses: drivendataorg/setup-python-uv-action@v1 | |
with: | |
python-version: 3.8 | |
- name: Install dependencies | |
run: | | |
uv pip install -r requirements-dev/docs.txt | |
- name: Build documentation | |
run: | | |
make docs | |
- name: Deploy site preview to Netlify | |
uses: nwtgck/[email protected] | |
with: | |
publish-dir: "./docs/site" | |
production-deploy: false | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
deploy-message: "Deploy from GitHub Actions" | |
enable-pull-request-comment: true | |
enable-commit-comment: false | |
overwrites-pull-request-comment: true | |
alias: deploy-preview-${{ github.event.number }} | |
env: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
timeout-minutes: 1 |