Skip to content

Commit

Permalink
Deploy documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed Jul 31, 2024
1 parent 518df30 commit 69745a0
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Deploy Documentation
on:
push:
branches:
- main
- deploy-docs
tags:
- v1.*
jobs:
deploy-user-guide:
if: github.repository == 'aws/aws-lc'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
submodules: 'recursive'
- uses: actions/setup-go@v4
with:
go-version: '>=1.18'
- name: Build Docs
run: |
mkdir html
cd ./util
go run doc.go --config doc.config --out ../html
cd ..
- name: Deploy Docs
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: html
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ symbols.txt
.cache/
/CMakePresets.json
/compile_commands.json
/html/

0 comments on commit 69745a0

Please sign in to comment.