mirror of
https://github.com/ivuorinen/generic-landing-page.git
synced 2026-03-11 09:59:32 +00:00
Update build.yml
This commit is contained in:
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@@ -23,10 +23,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
|
||||||
- name: Build assets
|
- name: Build production assets
|
||||||
run: |
|
run: |
|
||||||
npm install
|
npm install
|
||||||
npm run build --if-present
|
npm run prod --if-present
|
||||||
|
|
||||||
- name: Store artifacts
|
- name: Store artifacts
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
@@ -35,8 +35,6 @@ jobs:
|
|||||||
path: dist
|
path: dist
|
||||||
|
|
||||||
- name: Build GitHub Pages
|
- name: Build GitHub Pages
|
||||||
# You may pin to the exact commit or the version.
|
|
||||||
# uses: crazy-max/ghaction-github-pages@a117e4aa1fb4854d021546d2abdfac95be568a3a
|
|
||||||
uses: crazy-max/ghaction-github-pages@v2.6.0
|
uses: crazy-max/ghaction-github-pages@v2.6.0
|
||||||
with:
|
with:
|
||||||
build_dir: dist
|
build_dir: dist
|
||||||
|
|||||||
Reference in New Issue
Block a user