Skip to content

Commit

Permalink
TEST1
Browse files Browse the repository at this point in the history
  • Loading branch information
Chasen-Zhang committed Dec 16, 2024
1 parent ab680eb commit c51e256
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
22 changes: 12 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,15 @@ jobs:
- name: Build Docs
run: npm run docs:build

# - name: Publish
# run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.DATABEND_CLOUD_NPM_TOKEN_PROFILE_UI }}

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.DATABEND_CLOUD_NPM_TOKEN_PROFILE_UI }}
publish_dir: ./docs-dist # Change this to the directory you want to deploy
- name: Publish to npm registry
run: |
echo "//registry.npmjs.org/:_authToken=\${NODE_AUTH_TOKEN}" > ~/.npmrc
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN_PROFILE }}

# - name: Deploy to GitHub Pages
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.DATABEND_CLOUD_NPM_TOKEN_PROFILE_UI }}
# publish_dir: ./docs-dist # Change this to the directory you want to deploy
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "databend-profile-ui",
"version": "0.0.22",
"version": "0.0.23",
"description": "A react library developed with dumi",
"license": "MIT",
"module": "dist/index.js",
Expand Down

0 comments on commit c51e256

Please sign in to comment.