mirror of
https://github.com/pointfreeco/swift-custom-dump.git
synced 2026-04-07 19:17:35 +00:00
* Lock access to keyPathToName for key path printing. * slack release * modernize
34 lines
832 B
YAML
34 lines
832 B
YAML
name: Documentation
|
|
on:
|
|
release:
|
|
types:
|
|
- published
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: documentation-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Generate Documentation
|
|
uses: SwiftDocOrg/swift-doc@master
|
|
with:
|
|
base-url: /swift-custom-dump/
|
|
format: html
|
|
inputs: Sources/CustomDump
|
|
module-name: CustomDump
|
|
output: Documentation
|
|
- name: Update Permissions
|
|
run: 'sudo chown --recursive $USER Documentation'
|
|
- name: Deploy to GitHub Pages
|
|
uses: JamesIves/github-pages-deploy-action@releases/v3
|
|
with:
|
|
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
|
|
BRANCH: gh-pages
|
|
FOLDER: Documentation
|