Skip to content

Commit 97d031c

Browse files
updated github action
1 parent a8f2890 commit 97d031c

1 file changed

Lines changed: 19 additions & 15 deletions

File tree

Lines changed: 19 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
11
name: Publish Retype powered website to GitHub Pages
22
on:
3-
workflow_dispatch:
4-
push:
5-
branches:
6-
- main
3+
workflow_dispatch:
4+
push:
5+
branches:
6+
- main
77

88
jobs:
9-
publish:
10-
name: Publish to retype branch
9+
publish:
10+
name: Publish to retype branch
1111

12-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-latest
1313

14-
permissions:
15-
contents: write
14+
permissions:
15+
contents: write
1616

17-
steps:
18-
- uses: actions/checkout@v3
17+
steps:
18+
- uses: actions/checkout@v4
1919

20-
- uses: retypeapp/action-build@latest
20+
- uses: actions/setup-dotnet@v1
21+
with:
22+
dotnet-version: 7.0.x
2123

22-
- uses: retypeapp/action-github-pages@latest
23-
with:
24-
update-branch: true
24+
- uses: retypeapp/action-build@latest
25+
26+
- uses: retypeapp/action-github-pages@latest
27+
with:
28+
update-branch: true

0 commit comments

Comments
 (0)