Skip to content

Commit 5cdd564

Browse files
author
Eric Berry
authored
Update DevCard.yml
1 parent 4546e50 commit 5cdd564

File tree

1 file changed

+23
-17
lines changed

1 file changed

+23
-17
lines changed

.github/workflows/DevCard.yml

Lines changed: 23 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,23 @@
1-
- name: @dailydotdev/devcard
2-
# You may pin to the exact commit or the version.
3-
# uses: dailydotdev/action-devcard@98403c6d50dd3c4ac28fd8e5b24987920aa19af3
4-
uses: dailydotdev/action-devcard@2.0.6
5-
with:
6-
# The ID of the devcard
7-
devcard_id: f1398102cb3141b28c0a4f753dec68c8
8-
# GitHub Token used to commit the devcard
9-
token: # optional, default is ${{ github.token }}
10-
# Branch used to commit the devcard
11-
commit_branch: # optional, default is
12-
# Commit message
13-
commit_message: # optional, default is Update ${filename}
14-
# Filename to save devcard to
15-
commit_filename: # optional, default is devcard.svg
16-
# If true, no changes will be made to the repo
17-
dryrun: # optional
1+
name: DevCard
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
schedule:
9+
- cron: "31 */5 * * *"
10+
11+
permissions:
12+
contents: write
13+
14+
jobs:
15+
devcard:
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: devcard
19+
uses: dailydotdev/action-devcard@2.0.6
20+
with:
21+
devcard_id: ${{ secrets.DEVCARD_ID }}
22+
commit_branch: devcard
23+
commit_message: "chore: update ${filename}"

0 commit comments

Comments
 (0)