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

17 lines
443 B
YAML
Raw Normal View History

2020-03-18 20:34:23 +01:00
on: push
jobs:
main:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
2020-03-19 18:46:45 +01:00
with:
2020-04-30 15:57:37 +02:00
node-version: "14.x"
2020-03-18 20:34:23 +01:00
- run: npm install-ci-test
2020-03-20 06:37:31 +01:00
- uses: webfactory/ssh-agent@v0.2.0
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
2020-03-20 06:54:55 +01:00
if: github.ref == 'refs/heads/master'
2020-08-04 23:47:58 +02:00
- run: npm run deploy
2020-03-20 06:54:55 +01:00
if: github.ref == 'refs/heads/master'