Skip to content

Commit

Permalink
adds netlify action PR
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishabh committed Aug 2, 2021
1 parent 6ae8dc9 commit 6a7aa33
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions v2/.github/workflows/github-actions-netlify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 'Netlify Preview Deploy'

on:
pull_request:
types: ['opened', 'edited', 'synchronize']

jobs:
deploy:
name: 'Deploy'
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- uses: jsmrcaga/action-netlify-deploy@master
with:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}

0 comments on commit 6a7aa33

Please sign in to comment.