Skip to content

Commit 29e155e

Browse files
Refactor preview workflow and repository configuration defaults
1 parent 27fe411 commit 29e155e

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/preview.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,15 @@ permissions:
1010
pull-requests: write
1111

1212
jobs:
13-
preview:
14-
uses: TheDragonCode/.github/.github/workflows/preview.yml@main
13+
update:
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v6
18+
with:
19+
fetch-depth: 0
20+
21+
- name: Update Previews
22+
uses: ./
23+
with:
24+
token: ${{ secrets.GITHUB_TOKEN || env.GITHUB_TOKEN }}

dev.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ Get-Content $envFile |
1717

1818
npm run build
1919

20-
act push -W '.github/workflows/preview.yml'
20+
act workflow_dispatch -W '.github/workflows/preview.yml'

0 commit comments

Comments
 (0)