We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2084232 commit 080b5e6Copy full SHA for 080b5e6
1 file changed
.github/workflows/yard.yml
@@ -0,0 +1,35 @@
1
+name: Build & Deploy Site
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
+ workflow_dispatch:
8
9
+jobs:
10
+ build_and_deploy:
11
+ runs-on: ubuntu-latest
12
+ permissions:
13
+ contents: write
14
+ steps:
15
+ - name: Checkout
16
+ uses: actions/checkout@v6
17
+ - name: Setup Ruby
18
+ uses: ruby/setup-ruby@v1
19
+ with:
20
+ ruby-version: 3.4
21
+ bundler-cache: true
22
+ - name: Build
23
+ run: |
24
+ echo "Build..."
25
+ bundle exec rake docs
26
+ - name: Publish
27
+ uses: jekyll-is/action-jekyll-is-publish@v1
28
29
+ label: 'YARD Docs Pages'
30
+ sync-dir: 'doc'
31
+ github-actor: ${{ github.actor }}
32
+ github-token: ${{ secrets.GITHUB_TOKEN }}
33
+ pages-repository: ${{ github.repository }}
34
+ telegram-bot-token: ${{ secrets.TELEGRAM_BOT_TOKEN }}
35
+ telegram-user-id: ${{ secrets.MY_TG_ID }}
0 commit comments