Skip to content

Commit

Permalink
Make CI run checkout PR for backlogger_preview
Browse files Browse the repository at this point in the history
Signed-off-by: ybonatakis <[email protected]>
  • Loading branch information
b10n1k committed Apr 22, 2024
1 parent 38d6dfc commit 5fc4eed
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
repository: openSUSE/backlogger
path: backlogger
ref: ${{ github.event.pull_request.head.sha }}
- name: Run the action implemented in this repo
uses: ./
with:
config: queries.yaml
ref: ${{ github.event.pull_request.head.sha }}
- uses: rossjrw/pr-preview-action@v1
with:
source-dir: gh-pages
9 changes: 5 additions & 4 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,11 @@ inputs:
runs:
using: composite
steps:
- uses: actions/checkout@v4
with:
repository: openSUSE/backlogger
path: backlogger
# - uses: actions/checkout@v4
# with:
# #repository: openSUSE/backlogger
# ref: ${{ inputs.ref }}
# path: backlogger
- uses: actions/setup-python@v5
with:
python-version: 3.12
Expand Down
1 change: 1 addition & 0 deletions foot.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<hr>
TEST
<a href="https://github.com/GITHUB_REPOSITORY">GITHUB_REPOSITORY on GitHub</a>
</main></body></html>

0 comments on commit 5fc4eed

Please sign in to comment.