Skip to content

Commit 39c1ea9

Browse files
committed
test new workflow
1 parent 1d6f107 commit 39c1ea9

2 files changed

Lines changed: 8 additions & 65 deletions

File tree

.github/workflows/static-default.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/static.yml

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,12 @@
1-
name: Deploy Hugo site to GitHub Pages
2-
3-
on:
4-
push:
5-
branches:
6-
- master # Change this to your main branch if different
7-
8-
permissions:
9-
contents: write # Grant write access to the repository contents
10-
111
jobs:
122
build:
133
runs-on: ubuntu-latest
14-
154
steps:
16-
- name: Checkout code
17-
uses: actions/checkout@v2
18-
19-
- name: Set up Hugo
20-
uses: peaceiris/actions-hugo@v2
21-
with:
22-
hugo-version: 'latest'
23-
24-
- name: Build
25-
run: hugo --minify && ls
26-
5+
- uses: actions/checkout@master
6+
- uses: jakejarvis/hugo-build-action@master # ...or replace 'master' with a full version tag, such as: v0.64.1
7+
with:
8+
args: --minify --buildDrafts
9+
- uses: actions/upload-artifact@master
10+
with:
11+
name: website
12+
path: './public'

0 commit comments

Comments
 (0)