diff --git a/.github/workflows/deploy-to-firebase-hosting.yml b/.github/workflows/deploy.yml similarity index 64% rename from .github/workflows/deploy-to-firebase-hosting.yml rename to .github/workflows/deploy.yml index ee7a7bb..1250829 100644 --- a/.github/workflows/deploy-to-firebase-hosting.yml +++ b/.github/workflows/deploy.yml @@ -1,17 +1,26 @@ -name: Deploy to Firebase Hosting +name: deploy on: push: - branches: - - main + # branches: + # - main jobs: - build_and_deploy: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + - run: | + npm install + npm run build + + deploy: + needs: build runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: npm install && npm run build - uses: FirebaseExtended/action-hosting-deploy@v0 with: