Skip to content

Commit

Permalink
Ensure we checkout the repo
Browse files Browse the repository at this point in the history
  • Loading branch information
Antiz96 committed Nov 15, 2024
1 parent af9c45c commit 8655a79
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/CD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ on:
- main

jobs:
Build:
if: github.event_name == 'pull_request'
Checkout:
runs-on:
- self-hosted
- CI-CD
Expand All @@ -21,6 +20,13 @@ jobs:
token: ${{ secrets.BUILD_WEBSITE_TOKEN }}
ref: ${{ github.event.pull_request.head.ref }}

Build:
if: github.event_name == 'pull_request'
runs-on:
- self-hosted
- CI-CD

steps:
- name: Init theme submodule
run: git submodule update --init

Expand Down

0 comments on commit 8655a79

Please sign in to comment.