add idea to gitignore #16
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
# firebase-hosting-merge.yml | |
name: Deploy to Firebase Hosting on merge | |
'on': | |
push: | |
branches: | |
- main | |
jobs: | |
build_and_deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '18' # Choose the node version that matches your development environment | |
- name: Clear npm cache | |
run: npm cache clean --force | |
- run: npm ci | |
- run: npm run build | |
env: | |
REACT_APP_API_KEY: ${{ secrets.REACT_APP_API_KEY }} | |
REACT_APP_AUTH_DOMAIN: ${{ secrets.REACT_APP_AUTH_DOMAIN }} | |
REACT_APP_PROJECT_ID: ${{ secrets.REACT_APP_PROJECT_ID }} | |
REACT_APP_STORAGE_BUCKET: ${{ secrets.REACT_APP_STORAGE_BUCKET }} | |
REACT_APP_MESSAGING_SENDER_ID: ${{ secrets.REACT_APP_MESSAGING_SENDER_ID }} | |
REACT_APP_APP_ID: ${{ secrets.REACT_APP_APP_ID }} | |
REACT_APP_MEASUREMENT_ID: ${{ secrets.REACT_APP_MEASUREMENT_ID }} | |
- uses: FirebaseExtended/action-hosting-deploy@v0 | |
with: | |
repoToken: ${{ secrets.GITHUB_TOKEN }} | |
firebaseServiceAccount: ${{ secrets.FIREBASE_SERVICE_ACCOUNT_KONDO_21401 }} | |
channelId: live | |
projectId: kondo-21401 |