first draft php core docs #4221
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 | |
- run: | | |
npm install | |
- run: | | |
npm run 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 |