Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/jlurena/monica_website into…
Browse files Browse the repository at this point in the history
… main
  • Loading branch information
jlurena committed Nov 24, 2023
2 parents f4d6120 + dad985e commit 972c0c3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,15 @@ name: Build Website

on:
push:
branches:
- main
jobs:
build:
if: ${{ github.head_ref == 'main' }}
name: Build gh-page
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: refs/heads/${{ github.head_ref }}
- name: Install NodeJS
uses: actions/setup-node@v3
with:
Expand All @@ -21,6 +20,13 @@ jobs:
run: npm install --omit=dev
- name: Build
run: npm run build
- name: Setup File System
run: >
mv build /tmp &&
rm -rf * &&
mv /tmp/build . &&
mv build/index.html . &&
mv build public
- name: Commit files
run: |
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
Expand Down
1 change: 0 additions & 1 deletion CNAME

This file was deleted.

0 comments on commit 972c0c3

Please sign in to comment.