diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 6a9b14a..ca069a3 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -3,7 +3,7 @@ name: GitHub Pages on: push: branches: - - main + - master pull_request: jobs: @@ -23,7 +23,7 @@ jobs: - run: npm ci - run: | echo 'module.exports.basePath = "/nextjs-template"' >> next.config.js - - run: npm run testnet:build + - run: npm run build env: UPLOAD_SENTRY_SOURCEMAPS: false @@ -31,7 +31,7 @@ jobs: - name: Deploy uses: peaceiris/actions-gh-pages@v3 - if: ${{ github.ref == 'refs/heads/main' }} + if: ${{ github.ref == 'refs/heads/master' }} with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: out