From 604443d195df0d391c2ba84514f23e862db05d98 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Mon, 27 Mar 2023 21:15:14 -0700 Subject: [PATCH] Remove NPM from install steps --- .github/workflows/pages.yml | 2 -- README.md | 26 +++----------------------- 2 files changed, 3 insertions(+), 25 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index cdceb84c..59a56931 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -26,7 +26,6 @@ jobs: - name: Build run: | cd exampleSite - npm install hugo --baseURL ${{ steps.pages.outputs.base_url }} --enableGitInfo --environment production --minify --themesDir ../.. - name: Upload artifact uses: actions/upload-pages-artifact@v1 @@ -46,7 +45,6 @@ jobs: # - name: Build # run: | # cd exampleSite - # npm install # hugo --baseURL ${{ steps.pages.outputs.base_url }} --enableGitInfo --environment production --minify --themesDir ../.. deploy: environment: diff --git a/README.md b/README.md index 5f0285fb..61ebb779 100644 --- a/README.md +++ b/README.md @@ -94,27 +94,7 @@ Please share your deployed sites by [posting links](https://github.com/willfaugh $ sudo snap install hugo ``` -2. [Install Node](https://nodejs.org/en/download/). - - For Homebrew on Mac: - - ```sh - $ brew install node - ``` - - For Chocolatey on Windows: - - ```sh - $ choco install nodejs - ``` - - For Snap on Linux: - - ```sh - $ sudo snap install node - ``` - -3. [Install Embedded Dart Sass](https://github.com/sass/dart-sass-embedded/releases). +2. [Install Embedded Dart Sass](https://github.com/sass/dart-sass-embedded/releases). For Homebrew on Mac: @@ -134,13 +114,13 @@ Please share your deployed sites by [posting links](https://github.com/willfaugh $ sudo snap install dart-sass-embedded ``` -4. Create a site: +3. Create a site: ```sh $ hugo new site yourproject ``` -5. Create a post: +4. Create a post: ```sh $ cd yourproject