Skip to content
This repository was archived by the owner on Oct 26, 2024. It is now read-only.

Commit e98abfd

Browse files
committed
Deploy auth.dev with dev environment variables
1 parent 32c6fbe commit e98abfd

File tree

4 files changed

+25
-5
lines changed

4 files changed

+25
-5
lines changed

.github/workflows/pre-release-creation.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,3 @@ jobs:
4343
asset_path: ./auth-web.zip
4444
asset_name: auth-web.zip
4545
asset_content_type: application/zip
46-
- name: Deploy at dev environment
47-
run: |
48-
npm i -g firebase-tools
49-
firebase use dev --token ${{ secrets.FIREBASE_DEV_TOKEN }}
50-
firebase deploy --only hosting:dev --token ${{ secrets.FIREBASE_DEV_TOKEN }}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: web-deploy
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
web-deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: actions/setup-node@v1
15+
with:
16+
node-version: '12.x'
17+
- name: Build
18+
run: |
19+
npm run build:dev
20+
- name: Deploy at dev environment
21+
run: |
22+
npm i -g firebase-tools
23+
firebase use dev --token ${{ secrets.FIREBASE_PROD_TOKEN }}
24+
firebase deploy --only hosting:prod --token ${{ secrets.FIREBASE_PROD_TOKEN }}
File renamed without changes.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"ng": "ng",
66
"start": "ng serve",
77
"build": "ng build",
8+
"build:dev": "ng build --aot",
89
"build:prod": "ng build --prod",
910
"test": "jest",
1011
"test:watch": "jest --watch",

0 commit comments

Comments
 (0)