Skip to content

Commit 91103c7

Browse files
committed
fix demo app deployment
1 parent 81d5bb8 commit 91103c7

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/publish.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ jobs:
4343
needs: [publish_packages]
4444
runs-on: ubuntu-latest
4545
environment: prod
46+
defaults:
47+
run:
48+
working-directory: ./packages/rmw-shell/create-rmw-shell/template
4649
steps:
4750
- uses: actions/checkout@v4
4851
- uses: actions/setup-node@v4
@@ -53,22 +56,17 @@ jobs:
5356
git config user.name "${GITHUB_ACTOR}"
5457
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
5558
- name: install-rmw-shell
56-
run: npm create @ecronix/rmw-shell@latest demo-app
59+
run: npm install
5760
- name: install firebase functins dependencies
5861
run: npm i
59-
working-directory: ./demo-app/firebase/functions
6062
- name: run build
6163
run: |
6264
npm run build
63-
env:
64-
CI: false
65-
working-directory: ./demo-app
6665
- name: Install firebase tools
6766
run: npm i -g firebase-tools
6867
- name: Deploy
6968
run: |
7069
firebase use prod
7170
firebase deploy --only hosting --token $FIREBASE_TOKEN
72-
working-directory: ./demo-app
7371
env:
7472
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}

0 commit comments

Comments
 (0)