Skip to content

use v2 of the shivammathur/setup-php action instead of specific v… #184

use v2 of the shivammathur/setup-php action instead of specific v…

use v2 of the shivammathur/setup-php action instead of specific v… #184

Workflow file for this run

name: Deploy to Netlify
on:
push:
branches: [main]
jobs:
deploy:
name: Build and deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
with:
node-version: 16
- name: Install dependencies
run: npm install
- name: Build documentation site
run: npm run build
- name: Deploy documentation site
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
run: netlify deploy --dir=docs/.vuepress/dist --prod