Skip to content

Commit

Permalink
NPM should use Docsy repo + branch from PR
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin committed Jan 12, 2024
1 parent 45847d2 commit e8ff663
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/smoke.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: smoke

on:
push:
branches: [ main ]
pull_request:

jobs:
Expand All @@ -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

0 comments on commit e8ff663

Please sign in to comment.