Skip to content

Commit

Permalink
chore: use branch
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdehaven committed Sep 28, 2023
1 parent acf888a commit 3e94c04
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/github-pages-pr-preview.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ jobs:
USE_SANDBOX: true
run: yarn sandbox:build

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
# Upload sandbox/dist directory
path: ./sandbox/dist
# - name: Upload artifact
# uses: actions/upload-pages-artifact@v2
# with:
# # Upload sandbox/dist directory
# path: ./sandbox/dist

- name: Deploy Sandbox PR Preview to GitHub Pages
id: pr-preview
Expand All @@ -66,9 +66,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.KONGPONENTS_BOT_PAT }}
with:
source-dir: ./sandbox/dist
preview-branch: alpha # ${{ github.head_ref || github.ref_name }}
preview-branch: ${{ github.head_ref || github.ref_name }}
umbrella-dir: pr-preview
token: ${{ secrets.KONGPONENTS_BOT_PAT }}
# TODO: Set to auto
action: deploy

# - name: Provide sandbox preview link
Expand Down

0 comments on commit 3e94c04

Please sign in to comment.