Skip to content

Commit

Permalink
token must be stored without newlines for our script to work
Browse files Browse the repository at this point in the history
  • Loading branch information
colobas committed Feb 16, 2024
1 parent ba43702 commit c7394df
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/upload-debates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,9 @@ jobs:
message: 'Update debates data'
add: 'public/debates/ src/debates.json'

- name: Refresh rclone config
shell: bash
run: base64 -w 0 ~/.config/rclone/rclone.conf | gh secret set "${{ secrets.RCLONE_CONFIG }}"
env:
GITHUB_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
GH_REPO: ${{ github.repository }}

0 comments on commit c7394df

Please sign in to comment.