Skip to content

Commit d0dda3e

Browse files
Add GitHub Actions workflow for preview updates
1 parent b71eee9 commit d0dda3e

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/preview.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Preview Updater
2+
3+
on:
4+
schedule:
5+
- cron: '20 2 * * *'
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
pull-requests: write
11+
12+
jobs:
13+
preview:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v6
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Update banner
22+
uses: TheDragonCode/preview-updater@v1
23+
with:
24+
token: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)