Skip to content

chore(release): 1.3.4 api-axios-request 声明生成方法 #78

chore(release): 1.3.4 api-axios-request 声明生成方法

chore(release): 1.3.4 api-axios-request 声明生成方法 #78

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.0]
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
token: ${{ secrets.ACCESS_TOKEN }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
# Get commit message
- name: Get commit message
run: |
COMMIT_MESSAGE=$(git log --format=%s -n 1)
echo "commitmsg=${COMMIT_MESSAGE}" >> $GITHUB_ENV
- name: Deploy
if: startsWith( env.commitmsg , 'chore(release):' )
run: |
yarn
yarn deploy -p ${{ secrets.VSCE_TOKEN }}