Skip to content

Commit

Permalink
Build Beaker static site in CI
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Styk <[email protected]>
  • Loading branch information
StykMartin committed Jan 17, 2024
1 parent ddb5500 commit 9f8c3dc
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/build-website.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Build beaker-project.org

on: [push, pull_request]

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
key: cache
- name: Fetch Beaker's release tarballs
run: |
pushd docs
make clean
make

0 comments on commit 9f8c3dc

Please sign in to comment.