Skip to content

Commit

Permalink
fix strava login issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Tijs-B committed Jan 4, 2025
1 parent 233b93e commit e9e7333
Show file tree
Hide file tree
Showing 6 changed files with 2,862 additions and 86 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/credentials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,17 @@ jobs:
name: Refresh Strava Credentials
steps:
- uses: actions/checkout@v4
- uses: denoland/setup-deno@v1
- uses: actions/setup-node@v4
with:
deno-version: v1.x
node-version: '22'
- name: Setup npm
run: npm ci
- name: Fetch credentials
env:
STRAVA_EMAIL: ${{ secrets.STRAVA_EMAIL }}
STRAVA_PASSWORD: ${{ secrets.STRAVA_PASSWORD }}
run: |
eval "$(./scripts/refresh_strava_credentials.ts)"
eval "$(./scripts/refresh_strava_credentials.js)"
echo "::add-mask::${STRAVA_ID}"
echo "::add-mask::${STRAVA_COOKIES}"
echo "STRAVA_ID=${STRAVA_ID}" >> $GITHUB_ENV
Expand Down
Loading

0 comments on commit e9e7333

Please sign in to comment.