Polyaxon supports repos hosted on GitHub. You can use code from your GitHub repositories directly in Polyaxon projects without having to check them out on your local machine first.

N.B. Polyaxon supports public and private GitHub repos, you don't need to have a GitHub account to use code from public GitHub repositories. e.g. https://github.com/polyaxon/polyaxon-quick-start

  image: tensorflow/tensorflow:1.4.1-py3
    - pip3 install --no-cache -U polyaxon-client
  ref: 4b798d5663e336bc6a5e1021bd84174e0303ef4a

Open GitHub Developer Settings

At the bottom of the settings menu on the left, click Developer Settings.


Choose personal access token

Select the Personal access tokens link on the left. On that page, click the Generate new token button on the right.


Generate a new token

Choose a name for the token (e.g. "Polyaxon"), then grant the token "repo" and "admin:repo_hook" permissions. This will enable Polyaxon to read your repositories and detect new commits. Click the Generate Token button at the bottom to create the token.


Copy the token

Select the token and copy it. Alternatively, you can click the blue icon next to the token to automatically copy it to the clipboard.


Update your deployment config file

reposAccessToken: TokenHashHere