Skip to content

fix yml

fix yml #24

Workflow file for this run

name: Netlify Preview
on:
pull_request:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Netlify CLI
run: npm install -g netlify-cli
- name: Deploy to Netlify
id: netlify
uses: nwtgck/[email protected]
with:
publish-dir: 'public'
production-deploy: false
github-token: ${{ secrets.GH_ACCESS_TOKEN }}
enable-commit-comment: false
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}