Skip to content

Commit 1a4efe5

Browse files
committed
fix: common CNAME after gh-pages build in action
1 parent f0055c2 commit 1a4efe5

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/release-on-master.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,10 @@ jobs:
2323
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
2424
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
2525
run: npx semantic-release
26-
# We need to build for web after semantic release so that it uses the
27-
# correct package.json when importing from inside src
28-
- name: Build
29-
run: npm run build:web
3026
- name: Publish github pages
3127
run: |
3228
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/UniversalDataTool/universal-data-tool.git
33-
npx gh-pages -d build -u "github-actions-bot <[email protected]>"
29+
npm run gh-pages -- -u "github-actions-bot <[email protected]>"
3430
env:
3531
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}
3632
REACT_APP_GOOGLE_DRIVE_APP_ID: ${{ secrets.REACT_APP_GOOGLE_DRIVE_APP_ID }}

0 commit comments

Comments
 (0)