falfada / best-day-of-the-year

MIT License
0 stars 0 forks source link

Create secret for wikimedia API key #4

Closed roughnut closed 5 months ago

roughnut commented 5 months ago

Secrets, like the API key in the script.js file on line 26, should not be displayed in public repos, so they need to be hidden:

https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository

and then accessed in the code using ${{ secrets.YOUR_SECRET_NAME }}

I can't create the secret because I'm not a repo admin. Thanks.