Skip to content

Commit

Permalink
fix: env is not available in if condition
Browse files Browse the repository at this point in the history
  • Loading branch information
eclipse-threadx-bot authored Feb 7, 2025
1 parent 4fa5bed commit 8cb4a10
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ concurrency:
cancel-in-progress: false

env:
SOURCE_REPO: 'eclipse-threadx/rtos-docs-asciidoc'
TARGET_REPO: 'eclipse-threadx/rtos-docs-html'

jobs:
build:
if: github.repository == '${{ env.SOURCE_REPO }}'
if: github.repository == 'eclipse-threadx/rtos-docs-asciidoc'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
Expand Down

0 comments on commit 8cb4a10

Please sign in to comment.