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 0bb0c0d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 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.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 Down
1 change: 0 additions & 1 deletion .github/workflows/markdownlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
- "!README.md"
- "!translated/**"
- "!versions/*/translated/**"
workflow_dispatch: # Manual run

concurrency:
group: markdownlint-${{ github.event.pull_request.number || github.ref }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:

jobs:
build:
if: github.repository == "FabricMC/fabric-docs"
if: github.repository == 'FabricMC/fabric-docs'
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
Expand All @@ -33,7 +33,7 @@ jobs:
path: "./.vitepress/dist"

deploy:
if: github.repository == "FabricMC/fabric-docs"
if: github.repository == 'FabricMC/fabric-docs'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit 0bb0c0d

Please sign in to comment.