Skip to content

Commit 8cb4a10

Browse files
fix: env is not available in if condition
1 parent 4fa5bed commit 8cb4a10

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@ concurrency:
1010
cancel-in-progress: false
1111

1212
env:
13-
SOURCE_REPO: 'eclipse-threadx/rtos-docs-asciidoc'
1413
TARGET_REPO: 'eclipse-threadx/rtos-docs-html'
1514

1615
jobs:
1716
build:
18-
if: github.repository == '${{ env.SOURCE_REPO }}'
17+
if: github.repository == 'eclipse-threadx/rtos-docs-asciidoc'
1918
runs-on: ubuntu-latest
2019
steps:
2120
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2

0 commit comments

Comments
 (0)