Skip to content

Create build.yml

Create build.yml #1

Workflow file for this run

name: Deploy and build content to Pages
on:
# Runs on pushes targeting the default branch
push:
branches: ["master"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- name: install and test
run: |
npm install -g yarn
npm install -g gulp
cd tools/vf-core
yarn install
gulp vf-build # to do: we should make this run by `npm test`
env:
CI: true
- name: Deploy to GH Pages 🚀
uses: actions/deploy-pages@v2

Check failure on line 33 in .github/workflows/static.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/static.yml

Invalid workflow file

You have an error in your yaml syntax on line 33
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: public