mirror of
https://github.com/logos-storage/codex-factory.git
synced 2026-01-04 05:53:09 +00:00
ci: move comparisation into the brackets
This commit is contained in:
parent
0819569067
commit
870dc2da1e
4
.github/workflows/publish.yaml
vendored
4
.github/workflows/publish.yaml
vendored
@ -34,7 +34,7 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 1
|
||||
- name: Auth to Github Package Docker Registry
|
||||
if: (github.ref == 'refs/heads/master' || ${{ github.event.inputs.buildImage }} == 'true') && success()
|
||||
if: (github.ref == 'refs/heads/master' || ${{ github.event.inputs.buildImage == 'true' }}) && success()
|
||||
run: |
|
||||
echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://docker.pkg.github.com -u ${GITHUB_ACTOR} --password-stdin
|
||||
- name: Install npm deps
|
||||
@ -44,7 +44,7 @@ jobs:
|
||||
run: |
|
||||
npm run build:env
|
||||
- name: Publish if it was clicked manually
|
||||
if: ${{ github.event.inputs.buildImage }} == 'true' && success()
|
||||
if: ${{ github.event.inputs.buildImage == 'true' }} && success()
|
||||
run: |
|
||||
export COMMIT_VERSION_TAG="${{ github.event.inputs.commitVersionTag }}"
|
||||
export BEE_VERSION="${{ github.event.inputs.beeVersion }}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user