Skip to content

chore: try GitHub token #61

chore: try GitHub token

chore: try GitHub token #61

Workflow file for this run

name: github pages
on:
push:
branches:
- master
jobs:
build-deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v3
with:
submodules: true
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: "0.110.0"
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
env:
github_token: ${{ secrets.GITHUB_TOKEN }}
external_repository: Informasjonsforvaltning/Informasjonsforvaltning.github.io
publish_branch: master
publish_dir: ./public