From 22de500af0c626c850df848368d26beb501d7e9a Mon Sep 17 00:00:00 2001 From: Helio Machado <0x2b3bfa0+git@googlemail.com> Date: Tue, 17 Aug 2021 21:38:40 +0200 Subject: [PATCH] Expose access token on workflow examples (#82) --- content/docs/start/github.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/docs/start/github.md b/content/docs/start/github.md index a507bb05..04fb901d 100644 --- a/content/docs/start/github.md +++ b/content/docs/start/github.md @@ -139,7 +139,9 @@ Assume that we have a machine learning script, `train.py`, that outputs an image steps: - uses: actions/checkout@v2 - uses: iterative/setup-cml@v1 - - run: | + - env: + REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | # train will generate plot.png python train.py