Skip to content

Latest commit

 

History

History

simple-github-action-example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Simple 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.46.4 or above of JFrog CLI on your local machine, by running jfrog -v.
  3. Configure the details of your Artifactory server by running jfrog c add.
  4. Using the server ID you configured, export the server details by running jfrog c export <Server ID>.
  5. Copy the generated token to the clipboard.
  6. In the Github repository you created, create a secret named JF_SECRET_ENV_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.