File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : release-manual-docs
2
+ on :
3
+ workflow_dispatch :
4
+ inputs :
5
+ tag :
6
+ default : ' '
7
+ description : ' Version tag:'
8
+ env :
9
+ CI_XCODE_13 : ' /Applications/Xcode_13.4.1.app/Contents/Developer'
10
+
11
+ jobs :
12
+ publish-docs :
13
+ if : github.event.inputs.tag != ''
14
+ runs-on : macos-11
15
+ steps :
16
+ - name : Checkout repository
17
+ uses : actions/checkout@v3
18
+ with :
19
+ ref : ${{ github.event.inputs.tag }}
20
+ - name : Cache Gems
21
+ id : cache-gems
22
+ uses : actions/cache@v2
23
+ with :
24
+ path : vendor/bundle
25
+ key : ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
26
+ restore-keys : |
27
+ ${{ runner.os }}-gem-
28
+ - name : Install Bundle
29
+ run : |
30
+ bundle config path vendor/bundle
31
+ bundle install
32
+ - name : Create Jazzy Docs
33
+ run : |
34
+ ./Scripts/jazzy.sh
35
+ env :
36
+ DEVELOPER_DIR : ${{ env.CI_XCODE_13 }}
37
+ - name : Deploy Jazzy Docs
38
+ uses : peaceiris/actions-gh-pages@v3
39
+ with :
40
+ github_token : ${{ secrets.GITHUB_TOKEN }}
41
+ publish_dir : ./docs
You can’t perform that action at this time.
0 commit comments