Skip to content

Implement MessagePackEncoder and MessagePackDecoder. #3

Implement MessagePackEncoder and MessagePackDecoder.

Implement MessagePackEncoder and MessagePackDecoder. #3

Workflow file for this run

name: Documentation
on:
push:
branches:
- main
permissions:
contents: read
pages: write
id-token: write
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
publish:
name: Publish Documentation
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Set up GitHub Pages
uses: actions/configure-pages@v3
- uses: actions/checkout@v3
- name: Generate documentation
run: "swift package generate-documentation --target MessagePack --disable-indexing --transform-for-static-hosting --hosting-base-path msgpack-swift"
- name: Upload documentation
uses: actions/upload-pages-artifact@v2
with:
path: ".build/plugins/Swift-DocC/outputs/MessagePack.doccarchive"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2