Skip to content

Commit

Permalink
fix demo app deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
aabedraba committed Oct 27, 2024
1 parent 81d5bb8 commit 91103c7
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
needs: [publish_packages]
runs-on: ubuntu-latest
environment: prod
defaults:
run:
working-directory: ./packages/rmw-shell/create-rmw-shell/template
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
Expand All @@ -53,22 +56,17 @@ jobs:
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: install-rmw-shell
run: npm create @ecronix/rmw-shell@latest demo-app
run: npm install
- name: install firebase functins dependencies
run: npm i
working-directory: ./demo-app/firebase/functions
- name: run build
run: |
npm run build
env:
CI: false
working-directory: ./demo-app
- name: Install firebase tools
run: npm i -g firebase-tools
- name: Deploy
run: |
firebase use prod
firebase deploy --only hosting --token $FIREBASE_TOKEN
working-directory: ./demo-app
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}

0 comments on commit 91103c7

Please sign in to comment.