Skip to content

Commit

Permalink
ci: fix prax website deploy
Browse files Browse the repository at this point in the history
Restores some crucial Firebase configs to straighten out the CD pipeline
for updating the prax marketing website, hosted on Firebase.
  • Loading branch information
conorsch committed Jun 14, 2024
1 parent 236e650 commit 28cef94
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .firebaserc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"projects": {
"default": "prax-website-1aea3"
}
}
4 changes: 1 addition & 3 deletions .github/workflows/deploy-firebase.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
# Builds the static site via pnpm, then copies that local directory's contents
# to Firebase, at: https://praxwallet.com
name: Deploy Prax marketing site
name: Deploy static site
on:
# Support ad-hoc runs via dispatch, so we can deploy from
# unmerged feature branches if necessary.
Expand All @@ -27,7 +27,6 @@ jobs:

- name: Build static site
run: pnpm build
working-directory: apps/prax-marketing-site

- name: Deploy dapp static site to firebase
# N.B. the firebase-action helper doesn't support semver, e.g. `@v13`,
Expand All @@ -37,4 +36,3 @@ jobs:
args: deploy
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
PROJECT_PATH: apps/prax-marketing-site/dist
10 changes: 10 additions & 0 deletions firebase.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"hosting": {
"public": "apps/prax-marketing-site/dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
]
}
}

0 comments on commit 28cef94

Please sign in to comment.