Skip to content

Add md5 hash property to GSPath #540

Add md5 hash property to GSPath

Add md5 hash property to GSPath #540

Workflow file for this run

name: docs-preview
on:
pull_request:
jobs:
build:
name: Build and deploy docs website preview
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.11
cache: "pip" # caching pip dependencies
cache-dependency-path: |
pyproject.toml
requirements-dev.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements-dev.txt
- name: Build documentation
run: |
make docs
- name: Deploy site preview to Netlify
uses: nwtgck/actions-netlify@v2.0.0
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