Skip to content

Commit

Permalink
try again with ref
Browse files Browse the repository at this point in the history
  • Loading branch information
yitsushi committed Nov 3, 2021
1 parent 42fc4ee commit 438dc8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
checks:
if: github.event_name != 'push'
if: github.ref != 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand All @@ -21,7 +21,7 @@ jobs:
- name: Build docks
run: make docs-build
gh-release:
if: github.event_name != 'pull_request'
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand Down

0 comments on commit 438dc8c

Please sign in to comment.