Skip to content

- Added link to MaterialXLab to README.md #33

- Added link to MaterialXLab to README.md

- Added link to MaterialXLab to README.md #33

name: API Deploy
on:
push:
branches:
- "dev"
- "main"
paths:
- "deploy/*.json"
jobs:
build_dev:
if: github.ref == 'refs/heads/dev'
name: Netlify Webhook - Dev
runs-on: ubuntu-latest
steps:
- name: Curl request
run: curl -X POST -d {} ${{ secrets.NETLIFY_WEBHOOK_DEV }}
build_production:
if: github.ref == 'refs/heads/main'
name: Netlify Webhook - Production
runs-on: ubuntu-latest
steps:
- name: Curl request
run: curl -X POST -d {} ${{ secrets.NETLIFY_WEBHOOK_PRODUCTION }}