mirror of
https://github.com/pure-css/pure.git
synced 2024-11-24 10:44:21 +00:00
test: with secrets
This commit is contained in:
parent
e263dfcb1e
commit
391c5f4979
14
.github/workflows/deploy.yml
vendored
14
.github/workflows/deploy.yml
vendored
@ -14,14 +14,16 @@ jobs:
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14.x
|
||||
- run: npm ci
|
||||
- run: npm run lint
|
||||
- run: npm test
|
||||
- run: |
|
||||
git remote set-url origin https://git:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
|
||||
npm run deploy
|
||||
- uses: webfactory/ssh-agent@v0.5.0
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
|
||||
- name: Release to GitHub Pages
|
||||
env:
|
||||
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
|
||||
npm run deploy
|
||||
|
Loading…
Reference in New Issue
Block a user