Skip to content

Commit

Permalink
add pr preview
Browse files Browse the repository at this point in the history
update build dir
  • Loading branch information
Gkrumbach07 committed Oct 23, 2023
1 parent 7813d23 commit 6266ed9
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
name: Test Build
name: Deploy PR previews
on: pull_request
concurrency: preview-${{ github.ref }}
jobs:
build:
runs-on: ubuntu-latest
deploy-preview:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- run: npm ci
- run: npm run build
- name: Checkout
uses: actions/checkout@v3

- name: Install and Build
run: |
npm install
npm run build
- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
with:
source-dir: ./public/

0 comments on commit 6266ed9

Please sign in to comment.