Initial Commit
This commit is contained in:
commit
6593376d9c
3 changed files with 55 additions and 0 deletions
30
.forgejo/workflows/update-devcard.yml
Normal file
30
.forgejo/workflows/update-devcard.yml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
name: Devcard
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
|
||||
jobs:
|
||||
devcard:
|
||||
runs-on: docker
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Download Devcard
|
||||
uses: https://github.com/suisei-cn/actions-download-file@818d6b7dc8fe73f2f924b6241f2b1134ca1377d9
|
||||
id: downloadfile
|
||||
with:
|
||||
url: "https://api.daily.dev/devcards/v2/StuuJfuDSTSMX4LSIt8rF.png?type=wide&r=2gy"
|
||||
target: assets/
|
||||
|
||||
- name: Commit Devcard
|
||||
run: |
|
||||
git config user.name "ACTIONS[BOT]"
|
||||
git config user.email "actions@noreply@lycamail.de"
|
||||
git add .
|
||||
git commit -m "Update Devcard" || exit 0
|
||||
git push
|
||||
Loading…
Add table
Add a link
Reference in a new issue