chore: update jx3box dependencies to latest versions #176
This file contains hidden or 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
| name: Deploy CDN Files | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| build-and-deploy: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| node-version: [v22.14.0] | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Use Node.js ${{ matrix.node-version }} | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: ${{ matrix.node-version }} | |
| - name: Install && Build | |
| run: | | |
| npm install | |
| npm run build | |
| - name: Github Pages | |
| uses: JamesIves/github-pages-deploy-action@releases/v3 | |
| with: | |
| ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
| BRANCH: gh-pages | |
| FOLDER: dist | |
| CLEAN: true | |
| ## TODO:下方修改两处 | |
| - name: OSS | |
| uses: manyuanrong/setup-ossutil@v2.0 | |
| with: | |
| endpoint: "oss-cn-hangzhou.aliyuncs.com" | |
| access-key-id: ${{secrets.AccessKey_ID}} | |
| access-key-secret: ${{secrets.Access_Key_Secret}} | |
| - run: ossutil cp -rf dist oss://jx3box/static/uc | |
| #- run: ossutil cp -rf dist oss://jx3box-www/bbs | |