Skip to content

Commit 7d574de

Browse files
committed
Fix deploy
1 parent 1894e59 commit 7d574de

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7171
branch-and-tag:
7272
runs-on: ubuntu-latest
73-
if: ${{ inputs.is-main }}
73+
if: ${{ inputs.is-release }}
7474
steps:
7575
- name: Checkout repository
7676
uses: actions/checkout@v4
@@ -91,7 +91,7 @@ jobs:
9191
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9292
github-releases:
9393
runs-on: ubuntu-latest
94-
if: ${{ inputs.is-main }}
94+
if: ${{ inputs.is-release }}
9595
needs: branch-and-tag
9696
steps:
9797
- name: Checkout repository
@@ -118,7 +118,7 @@ jobs:
118118
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
119119
cargo-publish:
120120
runs-on: ubuntu-latest
121-
if: ${{ inputs.is-main }}
121+
if: ${{ inputs.is-release }}
122122
steps:
123123
- name: Checkout repository
124124
uses: actions/checkout@v4
@@ -137,7 +137,7 @@ jobs:
137137
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
138138
update-website:
139139
runs-on: ubuntu-latest
140-
if: ${{ inputs.is-main }}
140+
if: ${{ inputs.is-release }}
141141
steps:
142142
- name: Checkout repository
143143
uses: actions/checkout@v4

0 commit comments

Comments
 (0)