From a75cdadb3c7990da7ebef22a36e7897c80cd3107 Mon Sep 17 00:00:00 2001 From: redonkulus Date: Tue, 6 Jul 2021 09:34:03 -0700 Subject: [PATCH] ci: optimize --- .github/workflows/deploy.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 413e43e..15950a3 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -22,8 +22,13 @@ jobs: GH_EMAIL: ${{ secrets.GH_EMAIL }} GH_NAME: ${{ secrets.GH_NAME }} GIT_USER: ${{ secrets.GH_NAME }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} USE_SSH: true run: | npm ci + git config --global user.name "${GH_NAME}" + git config --global user.email "${GH_EMAIL}" + npm run prepare + cp -rf ./build/ ./site/static/css/pure/ + cd site + npm install npm run deploy