- Notifications
You must be signed in to change notification settings - Fork17
GitHub Action to download the devcard fromhttps://daily.dev
License
NotificationsYou must be signed in to change notification settings
dailydotdev/action-devcard
Use this GitHub action with your project
Add this Action to an existing workflow or create a new oneFolders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
GitHub Action for fetching the devcard fromdaily.dev
jobs:devcard:runs-on:ubuntu-latestpermissions:contents:writesteps: -name:devcarduses:dailydotdev/action-devcard@3.2.1with:user_id:${{ secrets.USER_ID }}
user_id
: this is the unique id of the devcard, it can be found in the URL of the devcard orhere.- e.g.
https://api.daily.dev/devcards/v2/0b156485612243bfa39093.2.171e276.png
where the user_id is0b156485612243bfa39093.2.171e276
- Can be found athttps://app.daily.dev/api/id
- e.g.
type
: Configure orientation for devcarddefault
: Vertical (Default)wide
: Horizontal
token
: GitHub Token used to commit the devcardcommit_branch
: The branch to commit the devcard to. Defaults to the branch of the action.commit_message
: The commit message to use when committing the devcard. Defaults toUpdate ${filename}
.- You can use
${filename}
in the message to refer to the filename of the devcard.
- You can use
commit_filename
: The filename to commit the devcard to. Defaults todevcard.png
.- You can also use any other filename ending in
.png
.
- You can also use any other filename ending in
committer_email
: The committer email used in commit. Defaults tonoreply@github.com
.committer_name
: The committer name used in commit. Defaults togithub-actions[bot]
.dryrun
: If set totrue
, the action will run as normal, but not actually commit the devcard
This will save the devcard as PNG and commit to a separate branch nameddevcard
.
jobs:devcard:runs-on:ubuntu-latestpermissions:contents:writesteps: -name:devcarduses:dailydotdev/action-devcard@3.2.1with:user_id:${{ secrets.USER_ID }}commit_branch:devcardcommit_filename:devcard.pngcommit_message:"chore: update ${filename}"
SinceDependabothasnative GitHub Actions support,to enable it on your GitHub repo all you need to do is add the.github/dependabot.yml
file:
version:2updates:# Maintain dependencies for GitHub Actions -package-ecosystem:"github-actions"directory:"/"schedule:interval:"daily"
About
GitHub Action to download the devcard fromhttps://daily.dev
Topics
Resources
License
Code of conduct
Contributing
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Contributors9
Uh oh!
There was an error while loading.Please reload this page.