Skip to content

Commit

Permalink
Edits angular pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
nabil-hfz committed Dec 31, 2023
1 parent 87e5a76 commit 29b1773
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 40 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/angular-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ jobs:
working-directory: ./frontend

- name: Deploy to Firebase Hosting
uses: w9jds/firebase-action@master
with:
args: deploy --only hosting
run: firebase deploy --only hosting
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
working-directory: ./frontend



20 changes: 20 additions & 0 deletions .github/workflows/firebase-hosting-merge.2yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# # This file was auto-generated by the Firebase CLI
# # https://github.com/firebase/firebase-tools

# name: Deploy to Firebase Hosting on merge
# 'on':
# push:
# branches:
# - deployment/prod
# jobs:
# build_and_deploy:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - run: npm ci && npm run build
# - uses: FirebaseExtended/action-hosting-deploy@v0
# with:
# repoToken: '${{ secrets.GITHUB_TOKEN }}'
# firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_KAWTHARUNA_PROD }}'
# channelId: live
# projectId: kawtharuna-prod
20 changes: 0 additions & 20 deletions .github/workflows/firebase-hosting-merge.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.2yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# # This file was auto-generated by the Firebase CLI
# # https://github.com/firebase/firebase-tools

# name: Deploy to Firebase Hosting on PR
# 'on': pull_request
# jobs:
# build_and_preview:
# if: '${{ github.event.pull_request.head.repo.full_name == github.repository }}'
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - run: npm ci && npm run build
# - uses: FirebaseExtended/action-hosting-deploy@v0
# with:
# repoToken: '${{ secrets.GITHUB_TOKEN }}'
# firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_KAWTHARUNA_PROD }}'
# projectId: kawtharuna-prod
17 changes: 0 additions & 17 deletions .github/workflows/firebase-hosting-pull-request.yml

This file was deleted.

0 comments on commit 29b1773

Please sign in to comment.