mirror of
https://github.com/logos-storage/codex-factory.git
synced 2026-01-07 15:33:11 +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:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
- name: Auth to Github Package Docker Registry
|
- 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: |
|
run: |
|
||||||
echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://docker.pkg.github.com -u ${GITHUB_ACTOR} --password-stdin
|
echo "${{ secrets.GITHUB_TOKEN }}" | docker login https://docker.pkg.github.com -u ${GITHUB_ACTOR} --password-stdin
|
||||||
- name: Install npm deps
|
- name: Install npm deps
|
||||||
@ -44,7 +44,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
npm run build:env
|
npm run build:env
|
||||||
- name: Publish if it was clicked manually
|
- name: Publish if it was clicked manually
|
||||||
if: ${{ github.event.inputs.buildImage }} == 'true' && success()
|
if: ${{ github.event.inputs.buildImage == 'true' }} && success()
|
||||||
run: |
|
run: |
|
||||||
export COMMIT_VERSION_TAG="${{ github.event.inputs.commitVersionTag }}"
|
export COMMIT_VERSION_TAG="${{ github.event.inputs.commitVersionTag }}"
|
||||||
export BEE_VERSION="${{ github.event.inputs.beeVersion }}"
|
export BEE_VERSION="${{ github.event.inputs.beeVersion }}"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user