kill-the-newsletter/.github/workflows/main.yml

17 lines
443 B
YAML

on: push
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "14.x"
- 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
if: github.ref == 'refs/heads/master'