This is an example Github workflow, which uses the Setup JFrog CLI Github Action.
- Create a new Github repository.
- Make sure you have version 1.46.4 or above of JFrog CLI on your local machine, by running
jfrog -v
. - Configure the details of your Artifactory server by running
jfrog c add
. - Using the server ID you configured, export the server details by running
jfrog c export <Server ID>
. - Copy the generated token to the clipboard.
- 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.
- Push the workflow.yml file as part of this example, under
.github/workflows/
in your Github repository. - Watch the workflow running following any push to the repository.