From 6141cfd4567b06777cfe881f0b7afe26b4939f30 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Tue, 3 Dec 2024 17:33:21 -0500 Subject: [PATCH] ci: workflow to publish rdoc --- .github/workflows/rdoc.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .github/workflows/rdoc.yml 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