Skip to content

årets oppdateringer #30

årets oppdateringer

årets oppdateringer #30

name: Deploy to gh-pages
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
persist-credentials: false
- name: npm install 🚛
run: npm ci
- name: Build 🔧
run: npm run build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v3
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: build
CLEAN: true