Skip to content

added whitelable deploy action #2

added whitelable deploy action

added whitelable deploy action #2

name: Deploy WhiteLabel
on: [push]
concurrency:
group: ${{ github.workflow }}-ci-${{ github.ref }}
cancel-in-progress: true
jobs:
setup_app:
runs-on: [ubuntu-latest]
steps:
- uses: actions/checkout@v4
- name: Setup Application
uses: ./.github/actions/setup-app
deploy:
runs-on: [ubuntu-latest]
needs: setup_app
strategy:
matrix:
site:
- NETLIFY_SITE_ID
# Add more sites as needed
steps:
- name: Build App
run: npm run build
- name: Deploy to Netlify
run: |
npm run netlify:deploy -- \
--site ${{ secrets['NETLIFY_SITE_ID'] }} \
--auth ${{ secrets.NETLIFY_API_TOKEN }} \
--prod