-
Notifications
You must be signed in to change notification settings - Fork 5
45 lines (38 loc) · 1.05 KB
/
deploy-nft-quest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: "Deploy NFT Quest Testnet"
on:
push:
branches: [ "main" ]
paths:
- "examples/nft-quest/**"
- "packages/sdk/**"
workflow_dispatch:
env:
HUSKY: 0
CI: true
NUXT_PUBLIC_GTAG_ID: ${{ secrets.NFT_QUEST_ANALYTICS_ID }}
jobs:
build_and_preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4 # v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 9.11.0
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: lts/Iron
cache: 'pnpm'
- name: Install dependencies
run: pnpm install -r --frozen-lockfile
- name: Build apps
run: pnpm nx build nft-quest
- name: Deploy firebase hosting
uses: matter-labs/action-hosting-deploy@main
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: "${{ secrets.FIREBASE_NFT_QUEST_TESTNET }}"
projectId: nft-quest-testnet
target: nft-quest-testnet
channelId: live