Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 1.06 KB

File metadata and controls

12 lines (11 loc) · 1.06 KB

Github Action Example

This is an example Github workflow, which uses the Setup JFrog CLI Github Action.

Running the Example

  1. Create a new Github repository.
  2. Make sure you have version 1.29.0 or above of JFrog CLI on your local machine, by running jfrog -v.
  3. Configure the details of your Artifactory server by running jfrog rt c.
  4. Using the server ID you configured, export the server details by running jfrog rt c export <Server ID>.
  5. Copy the generated token to the clipboard.
  6. In the Github repository you created, create a secret named JF_ARTIFACTORY_SERVER_1. Set the value of the secret to be the generated token you copied to the clipboard.
  7. Push the workflow.yml file as part of this example, under .github/workflows/ in your Github repository.
  8. Watch the workflow running following any push to the repository.