Skip to content
Open
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
18 changes: 13 additions & 5 deletions .github/workflows/build-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,23 @@ jobs:
token: ${{ secrets.GHE_PAT }}
github-server-url: https://github.tools.sap
ref: 'main'
sparse-checkout: |
redirect_index.html
redirect_404.html
assets/
sparse-checkout-cone-mode: true
- name: Prepare site folder
run: |
mkdir site
mv redirect_index.html site/index.html
mv redirect_404.html site/404.html
mv assets site/
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
uses: actions/jekyll-build-pages@v1
with:
source: ./
destination: ./_site
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: site

# Deployment job
deploy:
Expand Down
Loading