From b652bdad5935e9a6528f1c81589b2569b7b29f2d Mon Sep 17 00:00:00 2001 From: squidfunk Date: Fri, 17 Jul 2020 08:04:48 +0200 Subject: [PATCH] Simplify GitHub Actions workflow template --- docs/getting-started/publishing-your-site.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/getting-started/publishing-your-site.md b/docs/getting-started/publishing-your-site.md index 7535ed30c..6786b10c3 100644 --- a/docs/getting-started/publishing-your-site.md +++ b/docs/getting-started/publishing-your-site.md @@ -28,11 +28,11 @@ contents: ``` yaml name: ci on: - - push - - pull_request + push: + branches: + - master jobs: deploy: - if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master' runs-on: ubuntu-latest steps: - uses: actions/checkout@v2