diff --git a/.github/workflows/build-deploy-firebase.yml b/.github/workflows/build-deploy-firebase.yml deleted file mode 100644 index 359e738..0000000 --- a/.github/workflows/build-deploy-firebase.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: Build and Deploy to Firebase Hosting - -on: - push: - branches: - - main - -jobs: - build-and-deploy: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - - uses: actions/setup-node@v3 - with: - node-version: 18 - - - name: Install dependencies - run: npm ci - - - name: Build Next.js app - run: npm run build - - - name: Deploy to Firebase Hosting - uses: FirebaseExtended/action-hosting-deploy@v0.7.1 - with: - repoToken: "${{ secrets.GH_TOKEN }}" - firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT }}" - projectId: btkcodes - channelId: live diff --git a/.github/workflows/gh-pages-deploy.yml b/.github/workflows/gh-pages-deploy.yml index b4762c9..cc6f7de 100644 --- a/.github/workflows/gh-pages-deploy.yml +++ b/.github/workflows/gh-pages-deploy.yml @@ -18,6 +18,6 @@ jobs: uses: crazy-max/ghaction-github-pages@v1 with: target_branch: gh-pages - build_dir: build + build_dir: out env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}