Build Beaker static site in CI #18
Workflow file for this run
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
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 |