Skip to content

Merge branch 'main' of https://github.com/Xenophong/web #5

Merge branch 'main' of https://github.com/Xenophong/web

Merge branch 'main' of https://github.com/Xenophong/web #5

Workflow file for this run

name: Deploy Website
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build and deploy
run: |
# Fetch latest changes from the main branch
git fetch origin main
# Reset the local main branch to match the fetched changes
git reset --hard origin/main
# Run any build commands if necessary
bundle install
bundle exec jekyll build
# npm & Hugo extension :
npm install
npm run build
hugo --minify