Skip to content

Commit

Permalink
feat: add cloudnord
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmanuelDemey committed Jan 16, 2024
1 parent 73f9caa commit 81e79c4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
7 changes: 5 additions & 2 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"projects": {
"default": "cms4partners-ce427"
}
"default": "cms4partners-ce427",
"cloudnord": "cms4devfest"
},
"targets": {},
"etags": {}
}
14 changes: 8 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and Deploy for Devfest Lille
name: Build and Deploy
on:
push:
branches:
Expand All @@ -13,15 +13,17 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "14.x"
node-version: "16.x"
cache: "npm"
- name: Install firebase tools
run: npm i -g firebase-tools
- name: Install Front
run: npm --prefix public install
- name: Build Back
run: npm --prefix functions install
- name: Deploy to Firebase
run: firebase deploy -P default
- name: Deploy to Firebase for Devfest Lille
run: npw firebase-tools deploy -P default
env:
FIREBASE_TOKEN: ${{ secrets.DEVFEST_FIREBASE_TOKEN }}
- name: Deploy to Firebase for Devfest Lille
run: npw firebase-tools deploy -P cloudnord
env:
FIREBASE_TOKEN: ${{ secrets.CLOUDNORD_FIREBASE_TOKEN }}

0 comments on commit 81e79c4

Please sign in to comment.