diff --git a/.github/workflows/firebase-hosting-merge.yml b/.github/workflows/firebase-hosting-merge.yml index da117b4..7095bbf 100644 --- a/.github/workflows/firebase-hosting-merge.yml +++ b/.github/workflows/firebase-hosting-merge.yml @@ -1,5 +1,3 @@ -# This file was auto-generated by the Firebase CLI -# https://github.com/firebase/firebase-tools name: Deploy to Firebase Hosting on merge on: @@ -10,25 +8,25 @@ on: jobs: build_and_deploy: runs-on: ubuntu-latest - + steps: - name: Checkout repository uses: actions/checkout@v2 - + - name: Set up Node.js uses: actions/setup-node@v2 with: node-version: '14' - + - name: Set Node.js options run: export NODE_OPTIONS=--openssl-legacy-provider - + - name: Install dependencies run: yarn install - + - name: Build Next.js application run: yarn run build - + - name: Deploy to Firebase Hosting uses: FirebaseExtended/action-hosting-deploy@v0 with: @@ -36,3 +34,4 @@ jobs: firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_E_COMMERCE_99426 }} channelId: live projectId: e-commerce-99426 +