From c2ce7ea09f0ea643468b007d822dafcad246bc8b Mon Sep 17 00:00:00 2001 From: neil Date: Fri, 14 Oct 2022 11:45:09 +0800 Subject: [PATCH] rm pre-build command in build command --- {scripts => .github}/build-package-pages.sh | 0 .github/workflows/staging.yml | 2 +- README.md | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) rename {scripts => .github}/build-package-pages.sh (100%) diff --git a/scripts/build-package-pages.sh b/.github/build-package-pages.sh similarity index 100% rename from scripts/build-package-pages.sh rename to .github/build-package-pages.sh diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml index 303efd1..470b87f 100644 --- a/.github/workflows/staging.yml +++ b/.github/workflows/staging.yml @@ -40,7 +40,7 @@ jobs: uses: getneil/jq-action@v1 id: version with: - cmd: './scripts/build-package-pages.sh src/data/packages.json src/content/packages' + cmd: '.github/build-package-pages.sh src/data/packages.json src/content/packages' - run: .github/mk-pantry-accessible.sh ${{ secrets.TEMP_JACOBS_GITHUB_PAT }} diff --git a/README.md b/README.md index aed1a31..b7aa64d 100644 --- a/README.md +++ b/README.md @@ -36,13 +36,11 @@ Install hugo yourself or use tea: `sh <(curl tea.xyz) hugo`. |------------|---------| | gohugo.io | >=0.99 | - # Build Builds a static, deployable version of the website. ```sh -.github/build-package-pages.sh src/data/packages.json src/content/packages hugo --source src --destination ../public --minify ```