feat: improve fast pr in selecting text #26
Workflow file for this run
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
# publish public configs to OSS | |
name: publish_configs | |
on: | |
push: | |
branches: | |
- "master" | |
pull_request: | |
branches: | |
- "master" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
- name: Build | |
run: node scripts/test_configs.js | |
- name: Publish to OSS | |
if: ${{ github.event_name == 'push' }} | |
uses: tvrcgo/oss-action@master | |
with: | |
key-id: ${{ secrets.OSS_ACCESS_KEY_ID }} | |
key-secret: ${{ secrets.OSS_ACCESS_KEY_SECRET }} | |
region: ${{ secrets.OSS_REGION }} | |
bucket: ${{ secrets.OSS_BUCKET }} | |
assets: | | |
./public_configs/**:${{ secrets.OSS_TARGET_PATH }} |