File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Release Tasks
2+ on :
3+ release :
4+ types : [published]
5+
6+ jobs :
7+ docs :
8+ name : Publish Documentation
9+ runs-on : ubuntu-20.04
10+ continue-on-error : false
11+ if : github.repository == 'fedora-modularity/libmodulemd'
12+ steps :
13+ - name : Checkout code repo
14+ uses : actions/checkout@v2
15+
16+ - name : Checkout documentation repo
17+ uses : actions/checkout@v2
18+ with :
19+ repository : fedora-modularity/fedora-modularity.github.io
20+ ref : main
21+ path : fedora-modularity.github.io
22+ token : ${{ secrets.DOC_TOKEN }}
23+
24+ - name : Get release version
25+ run : |
26+ echo "version=$(./get_version.sh)" >> $GITHUB_ENV
27+
28+ - name : Generate documentation
29+ run : |
30+ ./.ci/ci-docs.sh $version
31+
32+ - name : Commit documentation
33+ uses : EndBug/add-and-commit@v6
34+ with :
35+ branch : main
36+ token : ${{ secrets.DOC_TOKEN }}
37+ cwd : fedora-modularity.github.io
38+ author_name : Libmodulemd CI
39+ 40+ message : libmodulemd docs for ${{ env.version }}
41+ add : libmodulemd/${{ env.version }}
42+ signoff : true
43+ push : true
You can’t perform that action at this time.
0 commit comments