mirror of
https://github.com/loikein/hugo-tufte.git
synced 2024-11-14 20:36:58 +01:00
💚 New build Ci workflow (pull request) (#40)
* ♻️ Fixing the normalize.scss issue Removing vendor version of normalise.scss and replacing it with cdn version * 💚 New build Ci workflow (pull request)
This commit is contained in:
parent
affe4f6c81
commit
e3cc068e43
2 changed files with 25 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
name: build github pages
|
||||
name: Build for Github Pages
|
||||
|
||||
on:
|
||||
push:
|
24
.github/workflows/test-build.yml
vendored
Normal file
24
.github/workflows/test-build.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: Test Build
|
||||
|
||||
on: [pull_request]
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
working-directory: ./exampleSite
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: true # Fetch Hugo themes (true OR recursive)
|
||||
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
||||
|
||||
- name: Setup Hugo
|
||||
uses: peaceiris/actions-hugo@v2
|
||||
with:
|
||||
hugo-version: '0.83.1'
|
||||
extended: true
|
||||
|
||||
- name: Build
|
||||
run: hugo --minify
|
Loading…
Reference in a new issue