Skip to content

Merge pull request #92 from SparebankenVest/at-bump-runners-image #43

Merge pull request #92 from SparebankenVest/at-bump-runners-image

Merge pull request #92 from SparebankenVest/at-bump-runners-image #43

Workflow file for this run

name: publish docs
on:
push:
branches:
- master
- v1.4.0
jobs:
build-deploy-docs:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@master
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '10.19.x'
- name: Cache dependencies
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Build
run: |
npm i
npm run build
- name: Deploy
uses: peaceiris/[email protected]
env:
ACTIONS_DEPLOY_KEY: ${{ secrets.ACTIONS_DEPLOY_KEY }}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./public