Skip to content

feat: clear comment #36

feat: clear comment

feat: clear comment #36

Workflow file for this run

name: Package
on:
push:
branches:
- master
jobs:
build-upload-job:
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v2
with:
ref: master
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install package
run: npm install
- name: Clean And Algolia
run: ./node_modules/.bin/hexo clean && ./node_modules/.bin/hexo algolia
- name: Build project
run: npm run build
- name: Deploy Tencent Cloud COS
uses: zkqiang/tencent-cos-action@v0.1.0
with:
args: delete -r -f / && upload -r ./public/ /
secret_id: ${{ secrets.SECRET_ID }}
secret_key: ${{ secrets.SECRET_KEY }}
bucket: ${{ secrets.BUCKET }}
region: ${{ secrets.REGION }}