This commit is contained in:
Leandro Facchinetti 2020-12-22 20:00:32 +00:00
parent 93b99aa113
commit 574c1cff3e
1 changed files with 3 additions and 4 deletions

View File

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