Skip to content

chore(deps): bump word-wrap from 1.2.3 to 1.2.4 in /docs #11

chore(deps): bump word-wrap from 1.2.3 to 1.2.4 in /docs

chore(deps): bump word-wrap from 1.2.3 to 1.2.4 in /docs #11

Workflow file for this run

name: Deploy documentation
on:
push:
branches:
- main
paths:
- "docs/**"
- "!docs/README.md"
pull_request:
paths:
- "docs/**"
- "!docs/README.md"
jobs:
deploy_production:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request'
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Deploy to production
uses: amondnet/vercel-action@v25
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORGANIZATION_ID }}
vercel-project-id: ${{ secrets.VERCEL_DOCS_PROJECT_ID }}
github-comment: false
working-directory: ./docs
vercel-args: "--prod"
deploy_preview:
runs-on: ubuntu-latest
if: github.ref != 'refs/heads/main'
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Deploy to preview
uses: amondnet/vercel-action@v25
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}
vercel-org-id: ${{ secrets.VERCEL_ORGANIZATION_ID }}
vercel-project-id: ${{ secrets.VERCEL_DOCS_PROJECT_ID }}
github-comment: true
working-directory: ./docs
alias-domains: |
preview-pr-{{PR_NUMBER}}.docs.lpadder.ml