Made Technology-Specific Guides its own page so that we can link to it #1751
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: Doc Preview | |
on: | |
pull_request: | |
branches: [main] | |
jobs: | |
preview: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
lfs: true | |
- run: git lfs pull | |
- uses: pnpm/[email protected] | |
with: | |
version: latest | |
run_install: false | |
- run: | | |
pnpm install | |
- run: | | |
pnpm build | |
- name: Deploy to Netlify | |
uses: nwtgck/[email protected] | |
id: netlify | |
with: | |
publish-dir: './build' | |
enable-pull-request-comment: true | |
enable-commit-comment: true | |
overwrites-pull-request-comment: true | |
deploy-message: "Preview Deploy for ${{ github.event.pull_request.title }}" | |
github-token: ${{ secrets.PUBLIC_REPO }} | |
fails-without-credentials: true | |
env: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
timeout-minutes: 2 |