@muze-nl/jsfs-solid 0.2.3 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,73 @@
1
+ ---
2
+ name: Example workflow calling Hugo build
3
+
4
+ on:
5
+ push:
6
+ branches:
7
+ - main
8
+ pull_request:
9
+ branches:
10
+ - main
11
+ workflow_dispatch:
12
+
13
+ jobs:
14
+ build:
15
+ uses: potherca/hugo-build/.github/workflows/hugo-build.yaml@main
16
+ with:
17
+ ## Use README.md files as folder index
18
+ build-readme-as-index: true
19
+ ## Import Hugo module of the "Relearn" theme
20
+ config-module-imports: |
21
+ { "path": "github.com/McShelby/hugo-theme-relearn" }
22
+ ## Module mount configuration. Can be used to add files in specific places
23
+ ## For a full list of options see:
24
+ ## https://gohugo.io/configuration/module/#mounts
25
+ # config-module-mounts: |
26
+ # { "source": "path/to/file/in/repo", "target": "path/in/url" }
27
+ ## Theme specific configuration. For a full list of options see:
28
+ ## https://mcshelby.github.io/hugo-theme-relearn/configuration/reference/
29
+ config-params: |
30
+ "alwaysopen": false,
31
+ "collapsibleMenu": true,
32
+ "disableGeneratorVersion": true,
33
+ "disableInlineCopyToClipBoard": true,
34
+ "disableLandingPageButton": true,
35
+ "themeVariant": [ "auto", "zen-dark", "zen-light" ]
36
+ ## Configuration for in the root of the Hugo config.
37
+ ## For a full list of options see: https://gohugo.io/configuration/all/
38
+ config-root-keys: |
39
+ "disableHugoGeneratorInject": true,
40
+ "languageCode": "en-us",
41
+ "markup": { "goldmark": { "renderer": { "unsafe": true } } },
42
+ "title": "Lightweight Solid Client"
43
+ ## Custom CSS
44
+ css: |
45
+ /* Avoid Duplicate titles */
46
+ h1:has(+ h1),
47
+ /* Remove the "Built with Hugo" link */
48
+ aside p:has(a[title="love"]) {
49
+ display: none;
50
+ }
51
+ ## Docker image to use for building the Hugo site
52
+ ## (loaded from GitHub Container Registry, instead of Docker Hub)
53
+ docker-image: ghcr.io/hugomods/hugo:std-go-git
54
+ ## Path to build the Hugo site from, defaults to ./
55
+ # path: ./
56
+
57
+ deploy:
58
+ environment:
59
+ name: github-pages
60
+ url: ${{ steps.deployment.outputs.page_url }}
61
+ # Only deploy when build for the main branch
62
+ if: github.ref == 'refs/heads/main'
63
+ name: Deploy to GitHub Pages
64
+ needs: build
65
+ # Grant GITHUB_TOKEN the permissions required to make a Pages deployment
66
+ permissions:
67
+ pages: write # To deploy to Pages
68
+ id-token: write # To verify the deployment originating source
69
+ runs-on: ubuntu-latest
70
+ steps:
71
+ - id: deployment
72
+ name: Deploy to GitHub Pages
73
+ uses: actions/deploy-pages@v4