Files
bot-whatsapp/.github/workflows/netlify.yml
Leifer Mendez be39e8fd30 docs: 🔥 added netlify
2022-12-28 20:51:28 +01:00

28 lines
912 B
YAML

# .github/workflows/netlify.yml
name: Build and Deploy to Documentation Netlify
on:
pull_request:
branches:
- dev
- main
types: [closed]
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v1.2
with:
publish-dir: './packages/docs/dist'
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: 'Deploy from GitHub Actions'
enable-pull-request-comment: false
enable-commit-comment: true
overwrites-pull-request-comment: true
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1