Merge pull request #23 from jatimdevday/feat/agenda-adjustment-time-a… #59
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 to Firebase Hosting | |
on: | |
push: | |
branches: | |
- main | |
env: | |
FIREBASE_PROJECT_ID: ${{ secrets.FIREBASE_PROJECT_ID }} | |
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }} | |
FIREBASE_DATABASE_URL: ${{ secrets.FIREBASE_DATABASE_URL }} | |
FIREBASE_API_KEY: ${{ secrets.FIREBASE_API_KEY }} | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install firebase | |
run: npm install -g firebase-tools | |
- name: Install dependencies | |
run: npm install | |
- name: Build Next.js app | |
run: npm run build | |
- name: Deploy to Firebase Hosting | |
run: firebase deploy --project $FIREBASE_PROJECT_ID --token $FIREBASE_TOKEN |