-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Martin Styk <[email protected]>
- Loading branch information
1 parent
ddb5500
commit b96286d
Showing
1 changed file
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
name: Build beaker-project.org | ||
|
||
on: | ||
pull_request: | ||
push: | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
container: centos:7 | ||
|
||
steps: | ||
- name: Setup environment | ||
run: | | ||
yum install -y epel-release python3 https://repo.ius.io/ius-release-el7.rpm | ||
yum install -y make nodejs git236-core python-genshi python-dateutil python-dulwich | ||
- name: Checkout source code | ||
uses: actions/checkout@v3 | ||
with: | ||
path: docs | ||
- name: Checkout beaker repository | ||
uses: actions/checkout@v3 | ||
with: | ||
path: beaker | ||
repository: beaker-project/beaker | ||
ref: 'master' | ||
fetch-depth: 0 | ||
fetch-tags: true | ||
- name: Cache Beaker's release tarballs | ||
uses: actions/cache@v3 | ||
with: | ||
path: docs/releases | ||
# XXX: This is not unique - cache has to be manually removed | ||
key: cache | ||
- name: Fetch Beaker's release tarballs | ||
run: | | ||
pushd docs | ||
make clean | ||
make | ||
- name: Archive docs | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: docs | ||
path: docs |