summaryrefslogtreecommitdiff
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorReorx <novoreorx@gmail.com>2022-04-12 23:30:31 +0800
committerReorx <novoreorx@gmail.com>2022-04-12 23:30:31 +0800
commit1dffc7393e518f0cc73f7fa6d38d278ff01e61d2 (patch)
tree7bae688968ee4011b2b0838546191edd071d830d /.github/workflows/build.yml
parentf6008883fafe8f743563663c155f5af0f03a71ac (diff)
update workflows, replace links
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml37
1 files changed, 0 insertions, 37 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
deleted file mode 100644
index 2da8f8f..0000000
--- a/.github/workflows/build.yml
+++ /dev/null
@@ -1,37 +0,0 @@
-name: Build
-
-on:
- pull_request:
- branches:
- - master
- - exampleSite
- workflow_dispatch:
- # manual run
- inputs:
- hugoVersion:
- description: "Hugo Version"
- required: false
- default: "0.83.0"
-
-jobs:
- build:
- runs-on: ubuntu-latest
- steps:
- - name: Git checkout
- uses: actions/checkout@v2
- with:
- ref: exampleSite
-
- - name: Get Theme
- run: git submodule update --init --recursive
-
- - name: Update theme to Latest commit
- run: git submodule update --remote --merge
-
- - name: Setup hugo
- uses: peaceiris/actions-hugo@v2
- with:
- hugo-version: "${{ github.event.inputs.hugoVersion }}"
-
- - name: Build
- run: hugo --buildDrafts --gc --verbose --minify