This repository has been archived by the owner on Dec 28, 2023. It is now read-only.
generated from wildtechgarden/module-starter-hugo-wtg
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Daniel F. Dickinson <[email protected]>
- Loading branch information
1 parent
0d3b179
commit 68b9ac6
Showing
42 changed files
with
1,366 additions
and
286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
# yamllint disable rule:key-ordering | ||
name: test-build-audit | ||
on: # yamllint disable-line | ||
pull_request: | ||
branches: | ||
- main | ||
types: | ||
- assigned | ||
- opened | ||
- synchronize | ||
- reopened | ||
jobs: | ||
# yamllint disable rule:line-length | ||
audit-only: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
hugo-version: [0.112.7, 0.115.4, 0.117.0, latest] | ||
post-status: [default, drafts, future] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run audit-build-action-hugo using config from tests/config | ||
uses: ./ | ||
with: | ||
base-url: "https://example.com/" | ||
config-file: hugo.toml,variations/config-${{ matrix.post-status }}.toml,variations/config-${{ matrix.hugo-version }}.toml | ||
hugo-version: ${{ matrix.hugo-version }} | ||
include-drafts-audit: ${{ toJSON(matrix.post-status == 'drafts') }} | ||
include-future-audit: ${{ toJSON(matrix.post-status == 'future') }} | ||
source-directory: tests/config | ||
upload-artifact: | ||
runs-on: ubuntu-22.04 | ||
strategy: | ||
matrix: | ||
post-status: [default, drafts, future] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Run hugo-action-build-audit from src dir to public | ||
uses: ./ | ||
with: | ||
config-file: hugo.toml,variations/config-${{ matrix.post-status }}.toml,variations/config-latest.toml | ||
include-drafts-bundle: ${{ toJSON(matrix.post-status == 'drafts') }} | ||
include-future-bundle: ${{ toJSON(matrix.post-status == 'future') }} | ||
output-directory: public-${{ matrix.post-status }} | ||
source-directory: tests/config | ||
upload-site-as: unminified-site-${{ matrix.post-status }} | ||
# yamllint enable rule:line-length | ||
# yamllint enable rule:key-ordering | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ node_modules | |
.env | ||
.disabled-env | ||
hugo-cache/ | ||
.hvm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.