Skip to content

Commit

Permalink
chore: create preview.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ivalshamkya committed Jan 26, 2024
1 parent 63d3ed7 commit 685192f
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/preview.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Netlify Preview Deployment

on:
pull_request:
branches:
- main

jobs:
Preview:
runs-on: ubuntu-latest
environment: Preview
steps:
- name: Checkout
uses: actions/checkout@v3
- name: "Deployed preview site"
run: curl -X POST -d {} ${{ secrets.NETLIFY_PREVIEW_BUILD_HOOK }}

0 comments on commit 685192f

Please sign in to comment.