Skip to content

Commit

Permalink
bugfix gh-pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
valentin-vogel committed Feb 28, 2021
1 parent 77bd414 commit 45dac67
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,22 @@ jobs:
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2.3.1

- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Cache Node.js modules
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- name: Install and Build
run: |
npm install
npm ci
npm run build:gh
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@4.0.0
with:
Expand Down

0 comments on commit 45dac67

Please sign in to comment.