Skip to content

Commit

Permalink
Deploy documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
justsmth committed May 10, 2024
1 parent e82f824 commit 4f97412
Showing 1 changed file with 30 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

0 comments on commit 4f97412

Please sign in to comment.