Skip to content

Commit

Permalink
fix: ci error
Browse files Browse the repository at this point in the history
  • Loading branch information
LancelotLewis committed Dec 2, 2023
1 parent 858b139 commit 7b5f9b8
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 33 deletions.
64 changes: 32 additions & 32 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,39 +43,39 @@ jobs:
- run: npm add -g @antfu/ni
- run: nci

- name: Deploy Page Site
uses: blocklet/action-workflow@v1
with:
skip-deps: false
skip-bundle: false
skip-upload: true
skip-deploy: false
skip-release: true
deploy-app-did: zNKkQuRidtsBVskb8oDXKVh5PpM5uD5PKxim
deploy-mount-point: /
bundle-command: nr bundle
working-directory: website/pages
server-endpoint: ${{ secrets.XMARK_NODE_ENDPOINT }}
server-access-key: ${{ secrets.XMARK_NODE_ACCESS_KEY }}
server-access-secret: ${{ secrets.XMARK_NODE_ACCESS_SECRET }}
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
# - name: Deploy Page Site
# uses: blocklet/action-workflow@v1
# with:
# skip-deps: false
# skip-bundle: false
# skip-upload: true
# skip-deploy: false
# skip-release: true
# deploy-app-did: zNKkQuRidtsBVskb8oDXKVh5PpM5uD5PKxim
# deploy-mount-point: /
# bundle-command: nr bundle
# working-directory: website/pages
# server-endpoint: ${{ secrets.XMARK_NODE_ENDPOINT }}
# server-access-key: ${{ secrets.XMARK_NODE_ACCESS_KEY }}
# server-access-secret: ${{ secrets.XMARK_NODE_ACCESS_SECRET }}
# slack-webhook: ${{ secrets.SLACK_WEBHOOK }}

- name: Deploy Docs Site
uses: blocklet/action-workflow@v1
with:
skip-deps: true
skip-bundle: false
skip-upload: true
skip-deploy: false
skip-release: true
deploy-app-did: zNKkQuRidtsBVskb8oDXKVh5PpM5uD5PKxim
deploy-mount-point: /docs
bundle-command: nr bundle
working-directory: website/docs
server-endpoint: ${{ secrets.XMARK_NODE_ENDPOINT }}
server-access-key: ${{ secrets.XMARK_NODE_ACCESS_KEY }}
server-access-secret: ${{ secrets.XMARK_NODE_ACCESS_SECRET }}
slack-webhook: ${{ secrets.SLACK_WEBHOOK }}
# - name: Deploy Docs Site
# uses: blocklet/action-workflow@v1
# with:
# skip-deps: true
# skip-bundle: false
# skip-upload: true
# skip-deploy: false
# skip-release: true
# deploy-app-did: zNKkQuRidtsBVskb8oDXKVh5PpM5uD5PKxim
# deploy-mount-point: /docs
# bundle-command: nr bundle
# working-directory: website/docs
# server-endpoint: ${{ secrets.XMARK_NODE_ENDPOINT }}
# server-access-key: ${{ secrets.XMARK_NODE_ACCESS_KEY }}
# server-access-secret: ${{ secrets.XMARK_NODE_ACCESS_SECRET }}
# slack-webhook: ${{ secrets.SLACK_WEBHOOK }}

publish:
if: needs.check-files.outputs.bump-version == 'true'
Expand Down
2 changes: 1 addition & 1 deletion packages/create-app/common/scripts/bump-version.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const oldChangelog = await fs.readFile('CHANGELOG.md', 'utf8');
const changelog = [title, newChangelog, oldChangelog].filter((item) => !!item).join('\n\n');
await fs.writeFile('CHANGELOG.md', changelog);

console.log(`\nNow you can make adjustments to ${chalk.cyan('CHANGELOG.md')}. Then press enter to continue.`);
console.log(`\nNow you can make adjustments to ${chalk.cyan('CHANGELOG.md')} . Then press enter to continue.`);

process.stdin.setRawMode(true);
process.stdin.resume();
Expand Down

0 comments on commit 7b5f9b8

Please sign in to comment.