diff --git a/.github/workflows/rdoc.yml b/.github/workflows/rdoc.yml new file mode 100644 index 00000000..36955e45 --- /dev/null +++ b/.github/workflows/rdoc.yml @@ -0,0 +1,34 @@ +# Simple workflow for deploying static content to GitHub Pages +name: rdocs + +on: + 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: + - uses: actions/checkout@v4 + - uses: actions/configure-pages@v5 + - uses: ruby/setup-ruby@v1 + with: + ruby-version: "3.3" + bundler-cache: true + - run: bundle exec rdoc + - uses: actions/upload-pages-artifact@v3 + with: + path: 'doc' + - uses: actions/deploy-pages@v4 + id: deployment