Remove the external theme that we use, replaces with own one #27
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Build Draft Preview | |
| on: | |
| pull_request_target: | |
| types: [opened, synchronize, closed, reopened] | |
| jobs: | |
| trigger_draft_build: | |
| runs-on: [self-hosted, draft-builder] | |
| steps: | |
| - name: Call Draft Management Script | |
| id: generate_draft | |
| env: | |
| PR_NUMBER: ${{ github.event.pull_request.number }} | |
| PR_ACTION: ${{ github.event.action }} | |
| run: | | |
| /home/lc0/scripts/lczero-build-draft.py --pr=$PR_NUMBER --action=$PR_ACTION --github-output=$GITHUB_OUTPUT | |
| - name: Post Preview Info to PR | |
| if: success() && steps.generate_draft.outputs.preview_url != '' | |
| uses: peter-evans/create-or-update-comment@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| issue-number: ${{ github.event.pull_request.number }} | |
| comment-id: "draft-preview-link-pr-${{ github.event.pull_request.number }}" | |
| body: | | |
| 🚀 Draft Preview: [${{ steps.generate_draft.outputs.preview_url }}](${{ steps.generate_draft.outputs.preview_url }}) |