-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/develop-new-framework' into de…
…velop-new-framework # Conflicts: # src/pages/community/index.tsx
- Loading branch information
Showing
49 changed files
with
7,485 additions
and
2,989 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: nacos.io deploy | ||
name: nacos.io deploy on github page | ||
|
||
on: | ||
push: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: nacos.io deploy on OSS | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop-new-framework | ||
jobs: | ||
Build-Deploy: | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Use Node.js 18.x | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 18.x | ||
- name: Build | ||
run: | | ||
npm install && npm run build && mkdir deploy-dist && cp -R build/* deploy-dist/ && mv build deploy-dist/ | ||
- name: Use Node.js 12.x | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: 12.x | ||
- run: npm i @serverless-devs/s -g --registry=https://registry.npmmirror.com | ||
- run: s config add --AccountID ${{secrets.ACCOUNT_ID}} --AccessKeyID ${{secrets.ACCESS_KEYID}} --AccessKeySecret ${{secrets.ACCESS_KEYSECRET}} -a nacos -f | ||
- name: Deploy | ||
run: s deploy --use-local -y | ||
- name: Update Cache-Control | ||
uses: doggycool/ossutil-github-action@master | ||
with: | ||
ossArgs: 'set-meta oss://nacos-website-cn-hongkong/ Cache-Control:no-cache -rf' | ||
accessKey: ${{ secrets.ACCESS_KEYID }} | ||
accessSecret: ${{ secrets.ACCESS_KEYSECRET }} | ||
endpoint: oss-cn-hongkong.aliyuncs.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.