Skip to content

Merge pull request #4 from navikt/dependabot/npm_and_yarn/dompurify-3… #12

Merge pull request #4 from navikt/dependabot/npm_and_yarn/dompurify-3…

Merge pull request #4 from navikt/dependabot/npm_and_yarn/dompurify-3… #12

name: GitHub Pages bygg og deploy
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18.x'
- name: Install
run: npm ci
- name: Build
run: npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
folder: out