Skip to content

Commit 6141cfd

Browse files
committed
ci: workflow to publish rdoc
1 parent 6886f98 commit 6141cfd

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/rdoc.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Simple workflow for deploying static content to GitHub Pages
2+
name: rdocs
3+
4+
on:
5+
workflow_dispatch:
6+
7+
permissions:
8+
contents: read
9+
pages: write
10+
id-token: write
11+
12+
concurrency:
13+
group: "pages"
14+
cancel-in-progress: false
15+
16+
jobs:
17+
deploy:
18+
environment:
19+
name: github-pages
20+
url: ${{ steps.deployment.outputs.page_url }}
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v4
24+
- uses: actions/configure-pages@v5
25+
- uses: ruby/setup-ruby@v1
26+
with:
27+
ruby-version: "3.3"
28+
bundler-cache: true
29+
- run: bundle exec rdoc
30+
- uses: actions/upload-pages-artifact@v3
31+
with:
32+
path: 'doc'
33+
- uses: actions/deploy-pages@v4
34+
id: deployment

0 commit comments

Comments
 (0)