diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 937811f86e1..9c4cf6d1372 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 @@ -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 @@ -102,7 +92,6 @@ jobs: defaults: run: shell: bash - working-directory: guides steps: - name: Checkout uses: actions/checkout@v6 @@ -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