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 72b38ef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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 @@ -22,16 +22,16 @@ jobs:

- run: npm ci
- run: |
echo 'module.exports.basePath = "/nextjs-template"' >> next.config.js
- run: npm run testnet:build
echo 'module.exports.basePath = "/wallet-test-app"' >> next.config.js
- 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 72b38ef

Please sign in to comment.