Skip to content

Commit

Permalink
Squash-1
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian-Prather committed Aug 16, 2023
1 parent 3e06fe3 commit 6357401
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
required: true
default: false


env:
REPO: ${{github.event.repository.name}}
JF_ARTIFACTORY_1: ${{ secrets.artifactory_token}}
Expand All @@ -23,14 +24,15 @@ jobs:
Build-and-deploy-dev:
runs-on: ubuntu-latest
steps:
- uses: jfrog/setup-jfrog-cli@v3

- name: Checkout SDK Branch
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
path: ${{env.REPO}}

- name: Build and deploy dev
uses: jfrog/setup-jfrog-cli@v1
if: ${{ github.event.inputs.DEV == 'true'}}
run: |
cd ${{env.REPO}}
Expand All @@ -40,14 +42,14 @@ jobs:
Build-and-deploy-release:
runs-on: ubuntu-latest
steps:
- uses: jfrog/setup-jfrog-cli@v3
- name: Checkout SDK Branch
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
path: ${{env.REPO}}

- name: Build and deploy release
uses: jfrog/setup-jfrog-cli@v1
if: ${{ github.event.inputs.RELEASE == 'true' }}
run: |
cd ${{env.REPO}}
Expand Down

0 comments on commit 6357401

Please sign in to comment.