Skip to content

Commit

Permalink
ci: another attempt to fix documentation CI (#1231)
Browse files Browse the repository at this point in the history
  • Loading branch information
zepfred authored Nov 27, 2024
1 parent e79003d commit 6c25aa0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/pull_request_secure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,7 @@ jobs:
name: Build Documentation
env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
HEAD_OWNER: ${{ github.event.pull_request.head.repo.owner.login }}
GURL: "https://github.com/${{ github.event.pull_request.head.repo.owner.login || 'TimefoldAI' }}/timefold-solver"
steps:
- name: Install yq
run: |
Expand All @@ -291,9 +291,6 @@ jobs:
env:
GIT_CREDENTIALS: ${{ secrets.GIT_CREDENTIALS }}
run: |
export GURL="https://github.com/$(HEAD_OWNER)/timefold-solver"
echo $GURL
echo $BRANCH_NAME
yq -i e 'del(.content.sources)' apps/docs/antora-playbook.yml
yq -i e 'del(.site.keys)' apps/docs/antora-playbook.yml
yq -i e '.content.sources += [{"url": env(GURL), "branches": env(BRANCH_NAME), "start_path": "docs/src"}]' apps/docs/antora-playbook.yml
Expand Down

0 comments on commit 6c25aa0

Please sign in to comment.