ci: optimize

This commit is contained in:
redonkulus 2021-07-06 09:34:03 -07:00
parent 391c5f4979
commit a75cdadb3c

View File

@ -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