- Add the following code to your README.md file.
<!-- BEGIN SHOWWCASE_PROFILE>
<!-- END SHOWWCASE_PROFILE>
-
Get the Showwcase API key from here.
-
Add the API key as a GitHub secret with the name
SHOWWCASE_API_KEY
. You can do this by going toSettings > Secrets
and clicking onNew repository secret
. Here is a video tutorial on how to do this. -
Add a new workflow in the .github folder. You can do this by going to
.github/workflows
and clicking onNew file
and add the following code to it. Replace your username in the above code and commit the file.
name: Showwcase Profile Card
on:
schedule:
# Runs every day at 12:00
- cron: "0 12 * * *"
push:
branches:
- main
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: sahil-sagwekar2652/github-readme-showwcase-cards@main
id: showwcase-cards
with:
api_key: ${{ secrets.SHOWWCASE_API_KEY }}
theme: "dark"
username: <your showwcase username>