Skip to content

Commit

Permalink
Pr preview2 (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
dklimpel authored Feb 2, 2024
1 parent 0a44379 commit ff52b63
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/edge_ghpage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ jobs:
with:
branch: gh-pages
folder: build
clean-exclude: pr-preview
27 changes: 27 additions & 0 deletions .github/workflows/pr-preview-ghpages.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy PR previews
concurrency: preview-${{ github.ref }}
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
jobs:
deploy-preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18"
- run: |
yarn install
yarn build
if: github.event.action != 'closed'
- uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./build/
preview-branch: gh-pages
umbrella-dir: pr-preview
action: auto

0 comments on commit ff52b63

Please sign in to comment.