Skip to content

Commit

Permalink
Fix if condition?
Browse files Browse the repository at this point in the history
  • Loading branch information
its-miroma committed Jan 26, 2025
1 parent 25b684b commit c8125af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ concurrency:

jobs:
docs:
if: github.event_name == "pull_request" || github.repository == "FabricMC/fabric-docs"
if: ${{ github.event_name == "pull_request" || github.repository == "FabricMC/fabric-docs" }}
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
Expand All @@ -22,7 +22,7 @@ jobs:
- run: npm run build

mod:
if: github.event_name == "pull_request" || github.repository == "FabricMC/fabric-docs"
if: ${{ github.event_name == "pull_request" || github.repository == "FabricMC/fabric-docs" }}
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
Expand All @@ -45,6 +45,7 @@ jobs:
reference/**/build/reports/checkstyle/*.xml
cleanup:
if: ${{ cancelled() }}
runs-on: ubuntu-24.04
steps:
- run: exit 0
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
uses: actions/deploy-pages@v4

cleanup:
if: ${{ cancelled() }}
runs-on: ubuntu-24.04
steps:
- run: exit 0

0 comments on commit c8125af

Please sign in to comment.