Skip to content

🌱 Update Routes and OpenAPI specification title and URL #81

🌱 Update Routes and OpenAPI specification title and URL

🌱 Update Routes and OpenAPI specification title and URL #81

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true
- name: Build
run: hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: learning-cloud-native-go/learning-cloud-native-go.github.io
publish_branch: main
publish_dir: ./public