Skip to content

Ajout d'un article sur les habitudes #85

Ajout d'un article sur les habitudes

Ajout d'un article sur les habitudes #85

Workflow file for this run

name: On push, publish the new website
on:
push:
branches:
- "main"
jobs:
build:
runs-on: ubuntu-latest
steps:
# ================================================================================================================
- name: Retrieve the sources
uses: actions/checkout@v3
# ================================================================================================================
- name: Hugo setup
uses: peaceiris/[email protected]
with:
hugo-version: '0.106.0'
extended: true
# ================================================================================================================
- name: Node setup
uses: actions/setup-node@v3
with:
node-version: 18
# ================================================================================================================
- name: Npm install
run: npm install
# ================================================================================================================
- name: Build Hugo website in the beta directory
run: hugo --minify --gc --baseURL=https://straumat.github.io/second-cerveau/
# ================================================================================================================
- name: Deploy the website to github pages
uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: public
commit-message: "Website deployment"
clean: true