👷 update ci

This commit is contained in:
yanyongyu 2021-02-10 12:09:37 +08:00
parent 4a961d8584
commit f4d623be25

View File

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