Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 2 additions & 20 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,14 @@ jobs:
defaults:
run:
shell: bash
working-directory: guides
steps:
- name: Get branch name (merge)
if: github.event_name != 'pull_request'
run: echo "BRANCH_NAME=$(echo ${GITHUB_REF#refs/heads/} | tr / -)" >> $GITHUB_ENV
working-directory: .

- name: Get branch name (pull request)
if: github.event_name == 'pull_request'
run: echo "BRANCH_NAME=$(echo ${GITHUB_HEAD_REF} | tr / -)" >> $GITHUB_ENV
working-directory: .

- name: Checkout
uses: actions/checkout@v6
Expand All @@ -56,14 +53,7 @@ jobs:
- name: Build HTML with real links
run: |
make clean
make -j ${{ env.MAKE_J }} html BUILD=foreman-el
make -j ${{ env.MAKE_J }} html BUILD=foreman-deb
make -j ${{ env.MAKE_J }} html BUILD=foremanctl-katello
make -j ${{ env.MAKE_J }} html BUILD=foremanctl-orcharhino
make -j ${{ env.MAKE_J }} html BUILD=foremanctl-satellite
make -j ${{ env.MAKE_J }} html BUILD=katello
make -j ${{ env.MAKE_J }} html BUILD=satellite
make -j ${{ env.MAKE_J }} html BUILD=orcharhino
make -j ${{ env.MAKE_J }} html

- name: Upload HTML
uses: actions/upload-artifact@v6
Expand Down Expand Up @@ -102,7 +92,6 @@ jobs:
defaults:
run:
shell: bash
working-directory: guides
steps:
- name: Checkout
uses: actions/checkout@v6
Expand All @@ -118,14 +107,7 @@ jobs:
- name: Build HTML base for comparison
run: |
make clean
make -j ${{ env.MAKE_J }} html BUILD=foreman-el
make -j ${{ env.MAKE_J }} html BUILD=foreman-deb
make -j ${{ env.MAKE_J }} html BUILD=foremanctl-katello
make -j ${{ env.MAKE_J }} html BUILD=foremanctl-orcharhino
make -j ${{ env.MAKE_J }} html BUILD=foremanctl-satellite
make -j ${{ env.MAKE_J }} html BUILD=katello
make -j ${{ env.MAKE_J }} html BUILD=satellite
make -j ${{ env.MAKE_J }} html BUILD=orcharhino
make -j ${{ env.MAKE_J }} html

- name: Upload HTML base for comparison
uses: actions/upload-artifact@v6
Expand Down