diff --git a/.github/workflows/firebase-live.yml b/.github/workflows/firebase-live.yml index 977a9592..2670d833 100644 --- a/.github/workflows/firebase-live.yml +++ b/.github/workflows/firebase-live.yml @@ -2,7 +2,7 @@ name: Deploy Live Site to Firebase Hosting on: push: branches: - - live-site + - main jobs: build_and_deploy_live_site: diff --git a/.github/workflows/firebase-staging.yml b/.github/workflows/firebase-staging.yml deleted file mode 100644 index be428af4..00000000 --- a/.github/workflows/firebase-staging.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Deploy Staging Site to Firebase Hosting -on: - push: - branches: - - main - -jobs: - build_and_deploy_staging: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - name: Setup Node - uses: actions/setup-node@v2 - with: - node-version: '18' - cache: 'yarn' - - - run: yarn install - - - name: Build Docs - env: - NODE_OPTIONS: "--max_old_space_size=4096" - run: npm run docs:build - - - uses: FirebaseExtended/action-hosting-deploy@v0 - with: - repoToken: '${{ secrets.GITHUB_TOKEN }}' - firebaseServiceAccount: '${{ secrets.FIREBASE_SA_VITEPRESS_DOCS }}' - channelId: stage