diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 139a08aa..fd02a02c 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -1,14 +1,12 @@ name: 🔂 Surge PR Preview -on: pull_request +on: [push, pull_request] jobs: preview: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - with: - ref: refs/pull/${{ github.event.pull_request.number }}/merge - uses: afc163/surge-preview@v1 with: surge_token: ${{ secrets.SURGE_TOKEN }}