This commit is contained in:
parent
93b99aa113
commit
574c1cff3e
|
@ -4,13 +4,12 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
- uses: webfactory/ssh-agent@v0.4.1
|
||||||
|
with:
|
||||||
|
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: "14.x"
|
node-version: "14.x"
|
||||||
- run: npm install-ci-test
|
- run: npm install-ci-test
|
||||||
- uses: webfactory/ssh-agent@v0.4.1
|
|
||||||
with:
|
|
||||||
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
|
|
||||||
if: github.ref == 'refs/heads/master'
|
|
||||||
- run: npm run deploy
|
- run: npm run deploy
|
||||||
if: github.ref == 'refs/heads/master'
|
if: github.ref == 'refs/heads/master'
|
||||||
|
|
Loading…
Reference in New Issue