Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
bitpredator committed May 6, 2024
1 parent 164bd03 commit 6fae093
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/build-deploy-and-preview.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
# .github/workflows/preview.yml
name: Deploy PR preview
concurrency: preview-${{ github.ref }}
on:
pull_request:
types:
- opened
- reopened
- synchronize
- closed
concurrency: preview-${{ github.ref }}
jobs:
deploy-preview:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Deploy preview
uses: rossjrw/pr-preview-action@v1
- uses: actions/checkout@v3
- run: yarn install && yarn build
env:
CI: false
if: github.event.action != 'closed'
- uses: rossjrw/pr-preview-action@v1
with:
source-dir: test
source-dir: ./docs/public
preview-branch: gh-pages
umbrella-dir: docs/
action: auto

0 comments on commit 6fae093

Please sign in to comment.