Skip to content

Update OAuth configuration to use Decap CMS auth proxy #5

Update OAuth configuration to use Decap CMS auth proxy

Update OAuth configuration to use Decap CMS auth proxy #5

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- gh-pages-test
pull_request:
jobs:
deploy:
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.139.4'
extended: true
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/gh-pages-test'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public