package ver update #27
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: docfx for GitHub Pages | |
on: | |
push: | |
branches: | |
- 'main' | |
release: | |
types: [published] | |
workflow_dispatch: | |
permissions: | |
contents: read | |
pages: write | |
id-token: write | |
concurrency: | |
group: "pages" | |
cancel-in-progress: false | |
jobs: | |
deploy: | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Remove csproj files | |
run: find . -name "*.csproj" -type f -delete | |
- name: Deploy with DocFX | |
uses: sator-imaging/docfx-pages@v1 | |
id: deployment | |
with: | |
app_name: 'Dialogue System For Unity' | |
site_title: 'Dialogue System For Unity' | |
site_footer: '<big>× Is HTML accepted?</big>' | |
class_members: 'separatePages' | |
google_analytics: '' | |
define_symbols: '' | |
site_logo: '<logo>.svg' | |
site_favicon: '<favicon>.svg' | |
main_js: | | |
export default { | |
defaultTheme: 'light', | |
showLightbox: (img) => true, | |
iconLinks: [ | |
{ | |
icon: 'github', | |
href: 'https://github.com/sator-imaging', | |
title: 'GitHub' | |
}, | |
], | |
} | |
main_css: | |