Skip to content

Commit cdc47dd

Browse files
committed
Deploy documentation
1 parent e82f824 commit cdc47dd

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/deploy-docs.yml

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: Deploy Documentation
2+
on:
3+
push:
4+
branches:
5+
- main
6+
- deploy-docs
7+
tags:
8+
- v1.*
9+
jobs:
10+
deploy-user-guide:
11+
if: github.repository == 'aws/aws-lc-rs'
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
with:
16+
persist-credentials: false
17+
submodules: 'recursive'
18+
- uses: actions/setup-go@v4
19+
with:
20+
go-version: '>=1.18'
21+
- name: Build Docs
22+
run: |
23+
mkdir html
24+
cd ./util
25+
go run doc.go --config doc.config --out ../html
26+
cd ..
27+
- name: Deploy Docs
28+
uses: JamesIves/github-pages-deploy-action@v4
29+
with:
30+
folder: html

0 commit comments

Comments
 (0)