Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
polarker committed Mar 11, 2024
1 parent ebc262e commit 10d8019
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: GitHub Pages
on:
push:
branches:
- main
- master
pull_request:

jobs:
Expand All @@ -23,15 +23,15 @@ 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

- run: npm run export

- 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

0 comments on commit 10d8019

Please sign in to comment.