π© Support wnft status in claim page #841
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to liker.land | |
on: | |
push: | |
branches: | |
- 'deploy/main' | |
jobs: | |
deploy: | |
name: Deploy | |
runs-on: ubuntu-latest | |
environment: main | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@master | |
- name: Setup node env π | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'npm' | |
cache-dependency-path: | | |
src/package-lock.json | |
functions/package-lock.json | |
- name: Dependencies | |
run: npm --prefix src install && npm --prefix functions install && cp -r src/nuxt.config.js src/config src/tailwind.config.js functions/ | |
- uses: w9jds/setup-firebase@main | |
with: | |
tools-version: 11.30.0 | |
firebase_token: ${{ secrets.FIREBASE_TOKEN }} | |
- run: firebase deploy --project civic-liker -f | |
env: | |
GA_TRACKING_ID: ${{ vars.GA_TRACKING_ID }} | |
AD_CONVERSION_ID: ${{ vars.AD_CONVERSION_ID }} | |
FACEBOOK_PIXEL_ID: ${{ vars.FACEBOOK_PIXEL_ID }} | |
GRE_API_KEY: ${{ vars.GRE_API_KEY }} | |
GRE_PROJECT_ID: ${{ vars.GRE_PROJECT_ID }} | |
STRIPE_PUBLIC_KEY: ${{ vars.STRIPE_PUBLIC_KEY }} | |
CRISP_WEBSITE_ID: ${{ vars.CRISP_WEBSITE_ID }} | |
SENTRY_DSN: ${{ vars.SENTRY_DSN }} | |
SENTRY_ORG: ${{ vars.SENTRY_ORG }} | |
SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }} | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
SENTRY_PUBLISH_RELEASE: 'TRUE' |