-
Notifications
You must be signed in to change notification settings - Fork 47
37 lines (31 loc) · 919 Bytes
/
Copy pathgenerate-docs.yml
File metadata and controls
37 lines (31 loc) · 919 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Generate Documentation
on:
- workflow_dispatch
env:
DEVELOPER_DIR: /Applications/Xcode_14.0.app/Contents/Developer
jobs:
main:
name: Create docs PR
runs-on: macOS-12
steps:
- name: git checkout
uses: actions/checkout@v2
- name: ruby setup
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.2
bundler-cache: true
- name: generate docs
run: bundle exec jazzy
- name: create pull request
uses: peter-evans/create-pull-request@v3
with:
commit-message: "[automated] generate docs"
title: "[automated] generate docs"
body: Documentation automatically generated via GitHub Actions.
branch: gh-pages
delete-branch: true
labels: documentation
assignees: ${{ github.actor }}
reviewers: ${{ github.actor }}
draft: false