Skip to content

Commit

Permalink
added whitelable deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
future-pirate-king committed Dec 2, 2024
1 parent d19b5c2 commit b370980
Show file tree
Hide file tree
Showing 3 changed files with 16,394 additions and 261 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/deploy_whitelabel.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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
Loading

0 comments on commit b370980

Please sign in to comment.