Remove unused pulp-docker configs and function #95
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: Docs | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
docs: | |
runs-on: ubuntu-20.04 | |
env: | |
RPM_PY_SYS: true | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Disable Jekyll | |
if: github.ref == 'refs/heads/main' | |
shell: bash | |
run: mkdir -p docs/_build/html/ && touch docs/_build/html/.nojekyll | |
- name: Get package list | |
id: packages | |
shell: bash | |
run: | | |
echo ::set-output name=packages::$(sed 's/#.*//' yum-packages-devel.txt) | |
- name: Build docs | |
uses: fedora-python/tox-github-action | |
with: | |
dnf_install: ${{ steps.packages.outputs.packages }} | |
tox_env: docs | |
- name: Deploy docs | |
if: github.ref == 'refs/heads/main' | |
uses: JamesIves/github-pages-deploy-action@4.1.0 | |
with: | |
branch: gh-pages | |
folder: docs/_build/html |