diff --git a/.github/workflows/smoke.yaml b/.github/workflows/smoke.yaml index eee64c1349..51bea820d8 100644 --- a/.github/workflows/smoke.yaml +++ b/.github/workflows/smoke.yaml @@ -1,8 +1,6 @@ name: smoke on: - push: - branches: [ main ] pull_request: jobs: @@ -21,7 +19,11 @@ jobs: - run: tools/install-hugo.sh shell: bash - name: Make site + env: + BASE_REPO: ${{ github.repository }} + BRANCH: ${{ github.head_ref }} + REPO: ${{ github.event.pull_request.head.repo.full_name }} run: | - mkdir tmp && cd tmp - ../tools/make-site.sh + mkdir tmp && cd tmp && set -x + ../tools/make-site.sh -p $REPO -v $BRANCH shell: bash