mirror of
https://github.com/avinal/avinal.github.io.git
synced 2026-07-04 07:40:09 +05:30
43e157885f
Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
38 lines
794 B
YAML
38 lines
794 B
YAML
# Sample workflow for building and deploying a Hugo site to GitHub Pages
|
|
name: Check build
|
|
|
|
on:
|
|
# Runs on pushes targeting the default branch
|
|
push:
|
|
branches: ["main"]
|
|
pull_request:
|
|
|
|
# Allows you to run this workflow manually from the Actions tab
|
|
workflow_dispatch:
|
|
|
|
# Allow one concurrent deployment
|
|
concurrency:
|
|
group: "pages"
|
|
cancel-in-progress: true
|
|
|
|
# Default to bash
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
|
|
jobs:
|
|
# Build job
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: 16
|
|
cache: "npm"
|
|
cache-dependency-path: ./package-lock.json
|
|
- name: Install elm-land and node packages
|
|
run: npm install
|
|
- name: build
|
|
run: make all
|