Skip to content

Merge pull request #15 from inSilecoInc/review_portfolio #33

Merge pull request #15 from inSilecoInc/review_portfolio

Merge pull request #15 from inSilecoInc/review_portfolio #33

Workflow file for this run

name: Build and deploy website
on:
push:
branches:
- main
jobs:
build-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.111.3'
extended: true
- name: Build website
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./public