Skip to content

Commit

Permalink
try to fix workflow condition
Browse files Browse the repository at this point in the history
  • Loading branch information
mdekstrand committed Jul 3, 2024
1 parent 1852515 commit 8a86b91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
runs-on: ubuntu-latest
needs:
- archive
if: github.event_name == "push" || github.event_name == "release"
if: github.event_name == 'push' || github.event_name == 'release'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down
2 changes: 1 addition & 1 deletion lkdev/workflows/docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def job_publish_site():
"name": "Publish documentation",
"runs-on": "ubuntu-latest",
"needs": ["archive"],
"if": 'github.event_name == "push" || github.event_name == "release"',
"if": "github.event_name == 'push' || github.event_name == 'release'",
"environment": {"name": "github-pages", "url": "${{ steps.deployment.outputs.page_url }}"},
"steps": [
{
Expand Down

0 comments on commit 8a86b91

Please sign in to comment.