Skip to content

Commit

Permalink
update github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nullsploit01 committed Dec 31, 2023
1 parent 1d95f7d commit e999dac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 23 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,16 @@ name: Deploy to Firebase Hosting on merge
push:
branches:
- dev
paths:
- 'ui/**'

jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: npm ci && npm run build
working-directory: ./ui
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
Expand Down
17 changes: 0 additions & 17 deletions .github/workflows/firebase-hosting-pull-request.yml

This file was deleted.

8 changes: 2 additions & 6 deletions ui/firebase.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
{
"hosting": {
"public": "dist",
"ignore": [
"firebase.json",
"**/.*",
"**/node_modules/**"
],
"public": "./ui/dist",
"ignore": ["firebase.json", "**/.*", "**/node_modules/**"],
"rewrites": [
{
"source": "**",
Expand Down

0 comments on commit e999dac

Please sign in to comment.