Skip to content

Commit

Permalink
Declare secrets in workflow (#77)
Browse files Browse the repository at this point in the history
* Use SOCKS5 proxy

* Use SOCKS5 proxy -- missed one spot!

* Revert use of SOCKS5 proxy

* Set UA and DNT

* Revert "Set UA and DNT"

This reverts commit 5237df8.

* Replace batch script with authenticated PRAW client user.

* Rename to the correct file name

* Declare secrets correctly.
  • Loading branch information
elliottback authored Jan 7, 2024
1 parent 022051e commit db970e7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/sync-from-reddit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ jobs:

- name: Download wiki from Reddit
run: python ./download-wiki.py
env:
- REDDIT_CLIENT_ID: ${{ secrets.REDDIT_CLIENT_ID }}
- REDDIT_CLIENT_SECRET: ${{ secrets.REDDIT_CLIENT_SECRET }}
- REDDIT_USER_AGENT: ${{ secrets.REDDIT_USER_AGENT }}
- REDDIT_USER_NAME: ${{ secrets.REDDIT_USER_NAME }}
- REDDIT_PASSWORD: ${{ secrets.REDDIT_PASSWORD }}

- name: Push changes (if any)
id: push
Expand Down

0 comments on commit db970e7

Please sign in to comment.