Skip to content

Commit

Permalink
Merge pull request #31 from ivalshamkya/development
Browse files Browse the repository at this point in the history
development: add workflows
  • Loading branch information
ivalshamkya authored Jan 26, 2024
2 parents 7b8179c + 685192f commit 24879be
Show file tree
Hide file tree
Showing 2 changed files with 32 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 }}
16 changes: 16 additions & 0 deletions .github/workflows/production.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Netlify Production Deployment

on:
push:
branches:
- main

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

0 comments on commit 24879be

Please sign in to comment.