Skip to content

Commit 556fbbf

Browse files
committed
Base the gh-pages workflow on Fedora.
Fedora has the latest OpenSCAP scanner that is able to build OCP4 content (yamlfilecontent_test).
1 parent 7a362e2 commit 556fbbf

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/gh-pages.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ on:
55
jobs:
66
publish:
77
name: Publish stats, tables and guides
8-
runs-on: ubuntu-20.04
8+
runs-on: ubuntu-latest
9+
container:
10+
image: fedora:latest
911
env:
1012
PAGES_DIR: __pages
1113
steps:
1214
- name: Install Deps
13-
uses: mstksg/get-package@master
14-
with:
15-
apt-get: cmake ninja-build libopenscap8 libxml2-utils expat xsltproc python3-jinja2 python3-yaml python3-setuptools ansible-lint python3-github bats python3-pytest python3-pytest-cov python3-pip
15+
run: dnf install -y cmake ninja-build openscap-utils python3-pyyaml python3-jinja2 python3-pytest ansible-lint expat libxslt python3-pip
1616
- name: Install deps python
1717
run: pip3 install json2html
1818
- name: Checkout

0 commit comments

Comments
 (0)