From 0a9bdeb04a40f859950516422843614696324ed9 Mon Sep 17 00:00:00 2001 From: Ben Meier <1651305+astromechza@users.noreply.github.com> Date: Wed, 10 Jul 2024 13:16:56 +0100 Subject: [PATCH 01/14] feat: publish to github pages Signed-off-by: Ben Meier <1651305+astromechza@users.noreply.github.com> --- .github/workflows/hugo.yml | 76 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 .github/workflows/hugo.yml diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml new file mode 100644 index 00000000..27263b6b --- /dev/null +++ b/.github/workflows/hugo.yml @@ -0,0 +1,76 @@ +# Sample workflow for building and deploying a Hugo site to GitHub Pages +name: Deploy Hugo site to Pages + +on: + # Runs on pushes targeting the default branch + push: + branches: ["main"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + +# Default to bash +defaults: + run: + shell: bash + +jobs: + # Build job + build: + runs-on: ubuntu-latest + env: + HUGO_VERSION: 0.128.0 + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + submodules: recursive + - name: Set Node.js 20 + uses: actions/setup-node@v4 + with: + node-version: 20 + - name: Install yarn + run: npm install -g yarn + - name: Install Node.js dependencies + run: yarn install + - name: Check + run: yarn run dprint check + - name: Setup Pages + id: pages + uses: actions/configure-pages@v5 + - name: Build with Hugo + env: + HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache + HUGO_ENVIRONMENT: production + run: | + yarn run hugo \ + --minify \ + --baseURL "${{ steps.pages.outputs.base_url }}/" + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + with: + path: ./public + + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 From d86457b88b2273bb89771dc96eaaf8dae5e7fab9 Mon Sep 17 00:00:00 2001 From: Ben Meier Date: Wed, 10 Jul 2024 13:27:30 +0100 Subject: [PATCH 02/14] chore: adjust ci files Signed-off-by: Ben Meier --- .github/workflows/hugo.yml | 31 ++++--------------------- .github/workflows/pull-request.yml | 4 ++++ .github/workflows/release-to-dev.yml | 33 --------------------------- .github/workflows/release-to-prod.yml | 32 -------------------------- 4 files changed, 8 insertions(+), 92 deletions(-) delete mode 100644 .github/workflows/release-to-dev.yml delete mode 100644 .github/workflows/release-to-prod.yml diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 27263b6b..74bc89ba 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -1,42 +1,24 @@ -# Sample workflow for building and deploying a Hugo site to GitHub Pages name: Deploy Hugo site to Pages - on: - # Runs on pushes targeting the default branch push: branches: ["main"] - - # Allows you to run this workflow manually from the Actions tab - workflow_dispatch: - -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages + paths-ignore: + - README.md + - CONTRIBUTING.md + - CODE_OF_CONDUCT.md permissions: contents: read pages: write id-token: write - -# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. -# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. concurrency: group: "pages" cancel-in-progress: false - -# Default to bash -defaults: - run: - shell: bash - jobs: - # Build job build: runs-on: ubuntu-latest - env: - HUGO_VERSION: 0.128.0 steps: - name: Checkout uses: actions/checkout@v4 - with: - submodules: recursive - name: Set Node.js 20 uses: actions/setup-node@v4 with: @@ -51,9 +33,6 @@ jobs: id: pages uses: actions/configure-pages@v5 - name: Build with Hugo - env: - HUGO_CACHEDIR: ${{ runner.temp }}/hugo_cache - HUGO_ENVIRONMENT: production run: | yarn run hugo \ --minify \ @@ -62,8 +41,6 @@ jobs: uses: actions/upload-pages-artifact@v3 with: path: ./public - - # Deployment job deploy: environment: name: github-pages diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index e204d36f..f8b87a43 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -5,6 +5,8 @@ on: branches: [ "*" ] paths-ignore: - README.md + - CONTRIBUTING.md + - CODE_OF_CONDUCT.md jobs: test: @@ -12,6 +14,8 @@ jobs: steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v4 + with: + node-version: 20 - run: npm install -g yarn - run: yarn install - run: yarn run hugo diff --git a/.github/workflows/release-to-dev.yml b/.github/workflows/release-to-dev.yml deleted file mode 100644 index 292986f5..00000000 --- a/.github/workflows/release-to-dev.yml +++ /dev/null @@ -1,33 +0,0 @@ -name: Release to Dev Environment - -on: - push: - branches: [main] - -jobs: - build-and-push: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Build and Push to Humanitec - Github Tag - uses: humanitec/build-push-to-humanitec@v1 - with: - humanitec-token: ${{ secrets.HUMANITEC_TOKEN_HUMANITEC_LABS }} - organization: humanitec-labs - file: Dockerfile - image-name: score-docs - auto-tag: true - - docs-build-and-push: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Build and Push to Humanitec - Github Tag - uses: humanitec/build-push-to-humanitec@v1 - with: - humanitec-token: ${{ secrets.HUMANITEC_TOKEN }} - organization: documentation - file: Dockerfile - image-name: score-docs - auto-tag: true diff --git a/.github/workflows/release-to-prod.yml b/.github/workflows/release-to-prod.yml deleted file mode 100644 index 62f7620f..00000000 --- a/.github/workflows/release-to-prod.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Release to Production Environment - -on: - release: - types: [released] - -jobs: - build-and-push: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Build and Push to Humanitec - Github Tag - uses: humanitec/build-push-to-humanitec@v1 - with: - humanitec-token: ${{ secrets.HUMANITEC_TOKEN_HUMANITEC_LABS }} - organization: humanitec-labs - file: Dockerfile - image-name: score-docs - auto-tag: true - - docs-build-and-push: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Build and Push to Humanitec - Github Tag - uses: humanitec/build-push-to-humanitec@v1 - with: - humanitec-token: ${{ secrets.HUMANITEC_TOKEN }} - organization: documentation - file: Dockerfile - image-name: score-docs - auto-tag: true From d19f114d93c546b55f050261803d4044c7d0f4e6 Mon Sep 17 00:00:00 2001 From: Ben Meier Date: Wed, 10 Jul 2024 13:29:50 +0100 Subject: [PATCH 03/14] chore: more cleanup Signed-off-by: Ben Meier --- .github/workflows/hugo.yml | 1 + Dockerfile | 16 ---------------- 2 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 Dockerfile diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 74bc89ba..5ec32c66 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -36,6 +36,7 @@ jobs: run: | yarn run hugo \ --minify \ + --themesDir ../.. \ --baseURL "${{ steps.pages.outputs.base_url }}/" - name: Upload artifact uses: actions/upload-pages-artifact@v3 diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index c691f39b..00000000 --- a/Dockerfile +++ /dev/null @@ -1,16 +0,0 @@ -# We use golang because hugo depends on Go as it's module downloader -FROM golang:alpine -# We then install shared libs and dynamic linking dependencies -RUN apk add --no-cache gcc g++ musl-dev git yarn gcompat npm - -COPY . /src -WORKDIR /src - -# Install all the packages -RUN yarn install - -# Do an initial hugo build -RUN yarn hugo --verbose - -# Run the hugo server at launch -CMD [ "yarn", "hugo", "server", "--themesDir", "../..", "--disableFastRender", "--renderToMemory", "--bind", "0.0.0.0" ] From bfdd58e5b9839e3c895202140d3e55f6b46f10c5 Mon Sep 17 00:00:00 2001 From: Ben Meier Date: Wed, 10 Jul 2024 13:31:12 +0100 Subject: [PATCH 04/14] chore: re-added removed files Signed-off-by: Ben Meier --- .github/workflows/release-to-dev.yml | 33 +++++++++++++++++++++++++++ .github/workflows/release-to-prod.yml | 32 ++++++++++++++++++++++++++ Dockerfile | 16 +++++++++++++ 3 files changed, 81 insertions(+) create mode 100644 .github/workflows/release-to-dev.yml create mode 100644 .github/workflows/release-to-prod.yml create mode 100644 Dockerfile diff --git a/.github/workflows/release-to-dev.yml b/.github/workflows/release-to-dev.yml new file mode 100644 index 00000000..292986f5 --- /dev/null +++ b/.github/workflows/release-to-dev.yml @@ -0,0 +1,33 @@ +name: Release to Dev Environment + +on: + push: + branches: [main] + +jobs: + build-and-push: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: Build and Push to Humanitec - Github Tag + uses: humanitec/build-push-to-humanitec@v1 + with: + humanitec-token: ${{ secrets.HUMANITEC_TOKEN_HUMANITEC_LABS }} + organization: humanitec-labs + file: Dockerfile + image-name: score-docs + auto-tag: true + + docs-build-and-push: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Build and Push to Humanitec - Github Tag + uses: humanitec/build-push-to-humanitec@v1 + with: + humanitec-token: ${{ secrets.HUMANITEC_TOKEN }} + organization: documentation + file: Dockerfile + image-name: score-docs + auto-tag: true diff --git a/.github/workflows/release-to-prod.yml b/.github/workflows/release-to-prod.yml new file mode 100644 index 00000000..62f7620f --- /dev/null +++ b/.github/workflows/release-to-prod.yml @@ -0,0 +1,32 @@ +name: Release to Production Environment + +on: + release: + types: [released] + +jobs: + build-and-push: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Build and Push to Humanitec - Github Tag + uses: humanitec/build-push-to-humanitec@v1 + with: + humanitec-token: ${{ secrets.HUMANITEC_TOKEN_HUMANITEC_LABS }} + organization: humanitec-labs + file: Dockerfile + image-name: score-docs + auto-tag: true + + docs-build-and-push: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Build and Push to Humanitec - Github Tag + uses: humanitec/build-push-to-humanitec@v1 + with: + humanitec-token: ${{ secrets.HUMANITEC_TOKEN }} + organization: documentation + file: Dockerfile + image-name: score-docs + auto-tag: true diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..c691f39b --- /dev/null +++ b/Dockerfile @@ -0,0 +1,16 @@ +# We use golang because hugo depends on Go as it's module downloader +FROM golang:alpine +# We then install shared libs and dynamic linking dependencies +RUN apk add --no-cache gcc g++ musl-dev git yarn gcompat npm + +COPY . /src +WORKDIR /src + +# Install all the packages +RUN yarn install + +# Do an initial hugo build +RUN yarn hugo --verbose + +# Run the hugo server at launch +CMD [ "yarn", "hugo", "server", "--themesDir", "../..", "--disableFastRender", "--renderToMemory", "--bind", "0.0.0.0" ] From e3572cda29e7240973ab4246eb39ab46013bed41 Mon Sep 17 00:00:00 2001 From: Ben Meier Date: Wed, 10 Jul 2024 13:34:18 +0100 Subject: [PATCH 05/14] chore: enable gh pages deploy from PR branch Signed-off-by: Ben Meier --- .github/workflows/hugo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 5ec32c66..6b808efc 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -1,7 +1,7 @@ name: Deploy Hugo site to Pages on: push: - branches: ["main"] + branches: ["astromechza-patch-1"] paths-ignore: - README.md - CONTRIBUTING.md From 12cecb0aabb3b261566f1efcfb6e03c9f3f1e6e2 Mon Sep 17 00:00:00 2001 From: Ben Meier Date: Wed, 10 Jul 2024 13:45:41 +0100 Subject: [PATCH 06/14] fix: baseurl Signed-off-by: Ben Meier --- layouts/index.html | 2 +- layouts/partials/head.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 1bbbdd4e..4373ebb9 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -5,7 +5,7 @@ -

This page has moved here. +

This page has moved here.

diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 10a0c452..84361ff6 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -7,7 +7,7 @@ {{ end -}} {{ $outputFormat := partial "outputformat.html" . -}} {{ if and hugo.IsProduction (ne $outputFormat "print") -}} From 9b34ac28d9df59c963c1e03aecc243b9d53303b8 Mon Sep 17 00:00:00 2001 From: Ben Meier Date: Wed, 10 Jul 2024 14:03:33 +0100 Subject: [PATCH 07/14] fix: immediate redirect Signed-off-by: Ben Meier --- layouts/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/index.html b/layouts/index.html index 4373ebb9..312f45b6 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,7 +2,7 @@ - +

This page has moved here. From 0453d0bb117391a68e6a21ed2080a00e5c16a5e9 Mon Sep 17 00:00:00 2001 From: Ben Meier Date: Wed, 10 Jul 2024 14:25:01 +0100 Subject: [PATCH 08/14] fix: fonts path in scss Signed-off-by: Ben Meier --- assets/scss/_fonts.scss | 12 ++++++------ config.toml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/assets/scss/_fonts.scss b/assets/scss/_fonts.scss index 211d3404..38ae2ab8 100644 --- a/assets/scss/_fonts.scss +++ b/assets/scss/_fonts.scss @@ -1,35 +1,35 @@ @font-face { font-family: Graphik; font-weight: 300; - src: url("/fonts/Graphik/GraphikLight.otf") format("opentype"); + src: url("../fonts/Graphik/GraphikLight.otf") format("opentype"); } @font-face { font-family: Graphik; font-weight: 400; - src: url("/fonts/Graphik/GraphikRegular.otf") format("opentype"); + src: url("../fonts/Graphik/GraphikRegular.otf") format("opentype"); } @font-face { font-family: Graphik; font-weight: 500; - src: url("/fonts/Graphik/GraphikMedium.otf") format("opentype"); + src: url("../fonts/Graphik/GraphikMedium.otf") format("opentype"); } @font-face { font-family: Graphik; font-weight: 600; - src: url("/fonts/Graphik/GraphikSemibold.otf") format("opentype"); + src: url("../fonts/Graphik/GraphikSemibold.otf") format("opentype"); } @font-face { font-family: Graphik; font-weight: 700; - src: url("/fonts/Graphik/GraphikBold.otf") format("opentype"); + src: url("../fonts/Graphik/GraphikBold.otf") format("opentype"); } @font-face { font-family: IBMPlexMono; font-weight: 400; - src: url("/fonts/IBMPlexMono/IBMPlexMono-Regular.ttf") format("truetype"); + src: url("../fonts/IBMPlexMono/IBMPlexMono-Regular.ttf") format("truetype"); } diff --git a/config.toml b/config.toml index 4ccf84b1..5878a0da 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -baseURL = "https://docs.score.dev" +baseURL = "https://docs.score.dev/" title = "Score" description = "Score provides a developer-centric and platform-agnostic Workload specification to improve developer productivity and experience. Score eliminates configuration management between local and remote environments." @@ -107,7 +107,7 @@ version = "0.0" # A link to latest version of the docs. Used in the "version-banner" partial to # point people to the main doc site. -url_latest_version = "https://docs.score.dev/" +url_latest_version = "" # Repository configuration (URLs for in-page links to opening issues and suggesting changes) github_repo = "https://github.com/score-spec/docs" From 7c0107f69deada231e523c83b39053cbec795b0a Mon Sep 17 00:00:00 2001 From: Ben Meier Date: Wed, 10 Jul 2024 14:46:01 +0100 Subject: [PATCH 09/14] fix: drop double-slash Signed-off-by: Ben Meier --- .github/workflows/hugo.yml | 2 +- config.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 6b808efc..a50f61b0 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -37,7 +37,7 @@ jobs: yarn run hugo \ --minify \ --themesDir ../.. \ - --baseURL "${{ steps.pages.outputs.base_url }}/" + --baseURL "${{ steps.pages.outputs.base_url }}" - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: diff --git a/config.toml b/config.toml index 5878a0da..5723173d 100644 --- a/config.toml +++ b/config.toml @@ -1,4 +1,4 @@ -baseURL = "https://docs.score.dev/" +baseURL = "https://docs.score.dev" title = "Score" description = "Score provides a developer-centric and platform-agnostic Workload specification to improve developer productivity and experience. Score eliminates configuration management between local and remote environments." From 45936b3a3c176ee150c745e961e122d981b1c901 Mon Sep 17 00:00:00 2001 From: Ben Meier Date: Wed, 10 Jul 2024 14:51:32 +0100 Subject: [PATCH 10/14] fix: restrict deploy just to main branch Signed-off-by: Ben Meier --- .github/workflows/hugo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index a50f61b0..57bb52a1 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -1,7 +1,7 @@ name: Deploy Hugo site to Pages on: push: - branches: ["astromechza-patch-1"] + branches: ["main"] paths-ignore: - README.md - CONTRIBUTING.md From 89968b6c71816e8f78e931ccbdb06d3ca4ee977b Mon Sep 17 00:00:00 2001 From: Ben Meier Date: Wed, 10 Jul 2024 15:04:01 +0100 Subject: [PATCH 11/14] fix: re-enable dev branch and dispatch Signed-off-by: Ben Meier --- .github/workflows/hugo.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 57bb52a1..1e3b8d1b 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -1,11 +1,13 @@ name: Deploy Hugo site to Pages on: push: - branches: ["main"] + branches: ["main", "astromechza-patch-1"] paths-ignore: - README.md - CONTRIBUTING.md - CODE_OF_CONDUCT.md + workflow_dispatch: + permissions: contents: read pages: write From 5652a7888d41b8ff13ab76ad4b37f5cf9b78ffd5 Mon Sep 17 00:00:00 2001 From: Ben Meier Date: Wed, 10 Jul 2024 15:13:41 +0100 Subject: [PATCH 12/14] fix: correct relative url function Signed-off-by: Ben Meier --- layouts/404.html | 2 +- layouts/index.html | 4 ++-- layouts/partials/head.html | 2 +- layouts/partials/navbar.html | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/404.html b/layouts/404.html index 22c63e25..42e4e978 100644 --- a/layouts/404.html +++ b/layouts/404.html @@ -3,7 +3,7 @@

Not found

Oops! This page doesn't exist. Try going back to the - home page. + home page.

{{- end }} diff --git a/layouts/index.html b/layouts/index.html index 312f45b6..9830bbb5 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -2,10 +2,10 @@ - + -

This page has moved here. +

This page has moved here.

diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 84361ff6..d412fb56 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -7,7 +7,7 @@ {{ end -}} {{ $outputFormat := partial "outputformat.html" . -}} {{ if and hugo.IsProduction (ne $outputFormat "print") -}} diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index bd5e3f19..a7177135 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -33,7 +33,7 @@ {{ $pre := .Pre -}} {{ $post := .Post -}} {{ $url := urls.Parse .URL -}} - {{ $baseurl := urls.Parse $.Site.Params.Baseurl -}} + {{ $baseurl := urls.Parse $.Site.BaseUrl -}} Date: Wed, 10 Jul 2024 15:18:37 +0100 Subject: [PATCH 13/14] chore: remove extra branch from deploy ci Signed-off-by: Ben Meier --- .github/workflows/hugo.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 1e3b8d1b..8d86cf9d 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -1,12 +1,11 @@ name: Deploy Hugo site to Pages on: push: - branches: ["main", "astromechza-patch-1"] + branches: ["main"] paths-ignore: - README.md - CONTRIBUTING.md - CODE_OF_CONDUCT.md - workflow_dispatch: permissions: contents: read From eb176933e26f4aa5a99fe6c473fc5d75f6285ba9 Mon Sep 17 00:00:00 2001 From: Ben Meier Date: Wed, 10 Jul 2024 15:44:00 +0100 Subject: [PATCH 14/14] chore: re-added wf dispatch trigger Signed-off-by: Ben Meier --- .github/workflows/hugo.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 8d86cf9d..3d25cf96 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -6,6 +6,8 @@ on: - README.md - CONTRIBUTING.md - CODE_OF_CONDUCT.md + workflow_dispatch: + inputs: {} permissions: contents: read