Update mobile styles to use slimmer, more evenly spaced stat buttons #255
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 Crew Link on PR | |
on: | |
- pull_request | |
jobs: | |
build_and_preview_crew_link: | |
name: Build and deploy Crew Link to Firebase Hosting preview | |
if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}" | |
runs-on: ubuntu-latest | |
environment: Dev | |
env: | |
VITE_IRON_FELLOWSHIP_FIREBASE_APIKEY: "${{ secrets.IRON_FELLOWSHIP_FIREBASE_APIKEY }}" | |
VITE_IRON_FELLOWSHIP_FIREBASE_AUTHDOMAIN: "${{ secrets.IRON_FELLOWSHIP_FIREBASE_AUTHDOMAIN }}" | |
VITE_IRON_FELLOWSHIP_FIREBASE_PROJECTID: "${{ secrets.IRON_FELLOWSHIP_FIREBASE_PROJECTID }}" | |
VITE_IRON_FELLOWSHIP_FIREBASE_STORAGEBUCKET: "${{ secrets.IRON_FELLOWSHIP_FIREBASE_STORAGEBUCKET }}" | |
VITE_IRON_FELLOWSHIP_FIREBASE_MESSAGINGSENDERID: "${{ secrets.IRON_FELLOWSHIP_FIREBASE_MESSAGINGSENDERID }}" | |
VITE_IRON_FELLOWSHIP_FIREBASE_APPID: "${{ secrets.IRON_FELLOWSHIP_FIREBASE_APPID }}" | |
VITE_CREW_LINK_FIREBASE_APIKEY: "${{ secrets.CREW_LINK_FIREBASE_APIKEY }}" | |
VITE_CREW_LINK_FIREBASE_AUTHDOMAIN: "${{ secrets.CREW_LINK_FIREBASE_AUTHDOMAIN }}" | |
VITE_CREW_LINK_FIREBASE_PROJECTID: "${{ secrets.CREW_LINK_FIREBASE_PROJECTID }}" | |
VITE_CREW_LINK_FIREBASE_STORAGEBUCKET: "${{ secrets.CREW_LINK_FIREBASE_STORAGEBUCKET }}" | |
VITE_CREW_LINK_FIREBASE_MESSAGINGSENDERID: "${{ secrets.CREW_LINK_FIREBASE_MESSAGINGSENDERID }}" | |
VITE_CREW_LINK_FIREBASE_APPID: "${{ secrets.CREW_LINK_FIREBASE_APPID }}" | |
VITE_POSTHOG_KEY: "${{secrets.POSTHOG_KEY}}" | |
VITE_POSTHOG_HOST: "${{secrets.POSTHOG_HOST}}" | |
VITE_TITLE: "Crew Link DEV" | |
VITE_FAVICON_PATH: "/theme/eidolon.svg" | |
VITE_OPENGRAPH_PATH: "/assets/starforged/opengraph-default.png" | |
steps: | |
- uses: actions/checkout@v2 | |
- run: npm ci && npm run build | |
- uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
target: app | |
repoToken: "${{ secrets.GITHUB_TOKEN }}" | |
firebaseServiceAccount: "${{ secrets.CREW_LINK_FIREBASE_SERVICE_ACCOUNT }}" | |
projectId: "${{ secrets.CREW_LINK_FIREBASE_PROJECTID }}" | |
deploy_firestore_and_storage_rules_crew_link: | |
name: Deploy Firestore and Storage rules and indexes to Crew Link | |
runs-on: ubuntu-latest | |
environment: Dev | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: w9jds/[email protected] | |
with: | |
args: deploy --only firestore | |
env: | |
GCP_SA_KEY: ${{ secrets.CREW_LINK_FIREBASE_SERVICE_ACCOUNT }} | |
PROJECT_ID: "${{secrets.CREW_LINK_FIREBASE_PROJECTID}}" | |
- uses: w9jds/[email protected] | |
with: | |
args: deploy --only storage --debug | |
env: | |
GCP_SA_KEY: ${{ secrets.CREW_LINK_FIREBASE_SERVICE_ACCOUNT }} | |
PROJECT_ID: "${{secrets.CREW_LINK_FIREBASE_PROJECTID}}" | |
# deploy_functions_crew_link: | |
# name: Deploy Firebase Functions to Crew Link | |
# runs-on: ubuntu-latest | |
# environment: Dev | |
# steps: | |
# - uses: actions/checkout@v2 | |
# - run: cd functions && npm ci && npm run build | |
# - uses: w9jds/[email protected] | |
# with: | |
# args: deploy --only functions | |
# env: | |
# GCP_SA_KEY: ${{ secrets.CREW_LINK_FIREBASE_SERVICE_ACCOUNT }} | |
# PROJECT_ID: "${{secrets.CREW_LINK_FIREBASE_PROJECTID}}" |