Skip to content

Merge branch 'main' of https://github.com/jlurena/monica_website into… #23

Merge branch 'main' of https://github.com/jlurena/monica_website into…

Merge branch 'main' of https://github.com/jlurena/monica_website into… #23

Workflow file for this run

name: Build Website
on:
push:
branches:
- main
jobs:
build:
name: Build gh-page
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: 20.2.0
cache: 'npm'
- name: Install NPM Dependencies
run: npm install --omit=dev
- name: Build
run: npm run build
- name: Commit files
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git add -A
git commit -m "build" || true
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: gh-page
force: true