Simplify GitHub Actions workflow template

This commit is contained in:
squidfunk 2020-07-17 08:04:48 +02:00
parent 1375f3d44a
commit b652bdad59

View File

@ -28,11 +28,11 @@ contents:
``` yaml ``` yaml
name: ci name: ci
on: on:
- push push:
- pull_request branches:
- master
jobs: jobs:
deploy: deploy:
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2