mirror of
https://github.com/loikein/hugo-tufte.git
synced 2025-05-24 15:02:18 +02:00
modify test CI
This commit is contained in:
parent
87bb3d4443
commit
7801e8aa2d
2 changed files with 5 additions and 5 deletions
.github/workflows
6
.github/workflows/build-site-ghpages.yml
vendored
6
.github/workflows/build-site-ghpages.yml
vendored
|
@ -2,7 +2,7 @@ name: Build for Github Pages
|
|||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
branches:g
|
||||
- master # Set a branch to deploy
|
||||
|
||||
jobs:
|
||||
|
@ -24,10 +24,10 @@ jobs:
|
|||
extended: true
|
||||
|
||||
- name: Build
|
||||
run: hugo --minify
|
||||
run: hugo --gc --minify
|
||||
|
||||
- name: Deploy
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GH_TOKEN }}
|
||||
publish_dir: ./exampleSite/public
|
||||
publish_dir: ./exampleSite/public
|
||||
|
|
4
.github/workflows/test-build.yml
vendored
4
.github/workflows/test-build.yml
vendored
|
@ -1,6 +1,6 @@
|
|||
name: Test Build
|
||||
|
||||
on: [pull_request]
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
|
@ -21,4 +21,4 @@ jobs:
|
|||
extended: true
|
||||
|
||||
- name: Build
|
||||
run: hugo --minify
|
||||
run: hugo --gc --minify
|
||||
|
|
Loading…
Add table
Reference in a new issue