File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -34,10 +34,15 @@ jobs:
34
34
JF_ARTIFACTORY_SPRING : ${{ secrets.JF_ARTIFACTORY_SPRING }}
35
35
MAVEN_REPO_ID : repo.spring.io
36
36
MAVEN_REPO_URL : https://repo.spring.io/libs-snapshot-local
37
+ # This command adds a new server configuration to the JFrog CLI
38
+ - run : |
39
+ export SERVER_ID="repo.spring.io"
40
+ jf c add $SERVER_ID --url=https://repo.spring.io/libs-snapshot-local --access-token=${{ secrets.JF_ARTIFACTORY_SPRING }} --interactive=false
41
+
37
42
- name : Deploy to Artifactory
38
43
run : |
39
44
jfrog mvnc \
40
- --server-id-deploy repo.spring.io \
45
+ --server-id-deploy $SERVER_ID \
41
46
--repo-deploy-releases release \
42
47
--repo-deploy-snapshots snapshot
43
48
echo JFROG_CLI_BUILD_NAME=sbm-support-rewrite >> $GITHUB_ENV
Original file line number Diff line number Diff line change @@ -468,4 +468,4 @@ limitations under the License.
468
468
</distributionManagement >
469
469
</profile >
470
470
</profiles >
471
- </project >
471
+ </project >
You can’t perform that action at this time.
0 commit comments