Some checks failed
Building & Deploying Website / Deploy-Website (push) Failing after 20s
26 lines
518 B
YAML
26 lines
518 B
YAML
name: Building & Deploying Website
|
|
on: [push]
|
|
|
|
jobs:
|
|
Deploy-Website:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v4
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Setup Hugo
|
|
uses: peaceiris/actions-hugo@v3
|
|
with:
|
|
hugo-version: '0.152.2'
|
|
# extended: true
|
|
|
|
- name: Build
|
|
run: hugo --minify
|
|
|
|
- name: Publish
|
|
run: |
|
|
rm -rf /mnt/website/*
|
|
cp public/* /mnt/website
|