Skip to content

Commit

Permalink
Update github-actions.yml
Browse files Browse the repository at this point in the history
Added a ping action to check credentials
  • Loading branch information
mschaab-SA committed Jan 12, 2024
1 parent 2f2a248 commit 1e509fd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/github-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,20 @@ name: GitHub Actions
run-name: ${{ github.ref_name }} GitHub Actions 🚀
on: [push, pull_request]
jobs:
Ping-Artifactory:
runs-on: ubuntu-latest
needs: Build-Publish
steps:
- uses: jfrog/setup-jfrog-cli@v3
env:
JF_URL: ${{ secrets.ARTIFACTORY_URL }}
JF_USER: ${{ secrets.JFROG_USERNAME }}
JF_PASSWORD: ${{ secrets.JFROG_PASSWORD }}
- run: |
echo $JF_URL
echo ${{ secrets.ARTIFACTORY_URL }}
echo $JF_USER
jf rt ping
Build-Publish:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 1e509fd

Please sign in to comment.