Skip to content

pemilu init

pemilu init #1

Workflow file for this run

name: Publish Website
on:
push:
branches: # triggers on any push to master
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set Node.js 14
uses: actions/[email protected]
with:
node-version: 14
- name: Install dependencies
run: npm i
- name: Test
run: npm run test --if-present
- name: Build
run: npm run build --if-present
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist