Skip to content

Commit

Permalink
Upload artifacts in case the event is a pull request.
Browse files Browse the repository at this point in the history
Store the built content that can be inspected locally to check if the
built pages are correct.
  • Loading branch information
ggbecker committed May 22, 2023
1 parent 225a771 commit c0e39a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,9 @@ jobs:
token: ${{ secrets.CONTENT_PAGES_TOKEN }}
git-config-name: openscap-ci
git-config-email: openscap-ci@gmail.com
- name: Upload artifact if the event is pull request
uses: actions/upload-artifact@v3
if: ${{ github.event_name == 'pull_request' }}
with:
name: built-content
path: ${{ env.PAGES_DIR }}

0 comments on commit c0e39a6

Please sign in to comment.