Remove NPM from install steps
This commit is contained in:
2
.github/workflows/pages.yml
vendored
2
.github/workflows/pages.yml
vendored
@@ -26,7 +26,6 @@ jobs:
|
|||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cd exampleSite
|
cd exampleSite
|
||||||
npm install
|
|
||||||
hugo --baseURL ${{ steps.pages.outputs.base_url }} --enableGitInfo --environment production --minify --themesDir ../..
|
hugo --baseURL ${{ steps.pages.outputs.base_url }} --enableGitInfo --environment production --minify --themesDir ../..
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-pages-artifact@v1
|
uses: actions/upload-pages-artifact@v1
|
||||||
@@ -46,7 +45,6 @@ jobs:
|
|||||||
# - name: Build
|
# - name: Build
|
||||||
# run: |
|
# run: |
|
||||||
# cd exampleSite
|
# cd exampleSite
|
||||||
# npm install
|
|
||||||
# hugo --baseURL ${{ steps.pages.outputs.base_url }} --enableGitInfo --environment production --minify --themesDir ../..
|
# hugo --baseURL ${{ steps.pages.outputs.base_url }} --enableGitInfo --environment production --minify --themesDir ../..
|
||||||
deploy:
|
deploy:
|
||||||
environment:
|
environment:
|
||||||
|
26
README.md
26
README.md
@@ -94,27 +94,7 @@ Please share your deployed sites by [posting links](https://github.com/willfaugh
|
|||||||
$ sudo snap install hugo
|
$ sudo snap install hugo
|
||||||
```
|
```
|
||||||
|
|
||||||
2. [Install Node](https://nodejs.org/en/download/).
|
2. [Install Embedded Dart Sass](https://github.com/sass/dart-sass-embedded/releases).
|
||||||
|
|
||||||
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).
|
|
||||||
|
|
||||||
For Homebrew on Mac:
|
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
|
$ sudo snap install dart-sass-embedded
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Create a site:
|
3. Create a site:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ hugo new site yourproject
|
$ hugo new site yourproject
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Create a post:
|
4. Create a post:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
$ cd yourproject
|
$ cd yourproject
|
||||||
|
Reference in New Issue
Block a user