👷 update ci

This commit is contained in:
yanyongyu 2021-02-10 12:15:11 +08:00
parent f4d623be25
commit 6eab05d57f

View File

@ -45,7 +45,7 @@ jobs:
- name: Publish
uses: netlify/actions/cli@master
with:
args: deploy --dir=docs/.vuepress/dist --prod --message "Production ${{ github.sha }}"
args: deploy --dir=docs/.vuepress/dist --prod --message="Production ${{ env.BRANCH_NAME }}@${{ github.sha }}"
env:
NETLIFY_SITE_ID: ${{ env.SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}