diff --git a/.github/workflows/upload-debates.yaml b/.github/workflows/upload-debates.yaml index 3361928..77f35ce 100644 --- a/.github/workflows/upload-debates.yaml +++ b/.github/workflows/upload-debates.yaml @@ -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 }}