Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jf-dakart authored May 7, 2024
1 parent 8c6cca8 commit 5054953
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions demos/advanced-projects/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ curl \
-X POST \
-H "Authorization: Bearer $JFROG_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"name": "<PROJECT_KEY>-RELEASE-CANDIDATE"}' \
$JFROG_SAAS_URL/access/api/v1/projects/<PROJECT_KEY>/environments
-d '{"name": "blueteam-RELEASE-CANDIDATE"}' \
$JFROG_SAAS_URL/access/api/v1/projects/blueteam/environments

# create new repositories in your JFrog Project
# be careful the repository key has to be part of the URL and match the "key" in the JSON payload !
Expand All @@ -41,14 +41,14 @@ curl \
-H "Authorization: Bearer $JFROG_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d "@payload/repo-api-def.json" \
$JFROG_SAAS_URL/artifactory/api/repositories/dimanche-maven-archive-local
$JFROG_SAAS_URL/artifactory/api/repositories/blueteam-maven-archive-local

# assign existing repositories to your JFrog Project
curl \
-XPUT \
-H "Authorization: Bearer $JFROG_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
$JFROG_SAAS_URL/access/api/v1/projects/_/attach/repositories/<REPO_KEY>/<PROJECT_KEY>?force=true
"$JFROG_SAAS_URL/access/api/v1/projects/_/attach/repositories/<REPO_KEY>/<PROJECT_KEY>?force=true"
```

## Publish JFrog BOMs to Project
Expand Down

0 comments on commit 5054953

Please sign in to comment.