Skip to content

Commit 38b06df

Browse files
authored
[IDP-1845] Fix docs deploy (#21)
1 parent 649959e commit 38b06df

File tree

1 file changed

+4
-15
lines changed

1 file changed

+4
-15
lines changed

.github/workflows/publish-docs.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,8 @@ jobs:
1212
runs-on: ubuntu-latest
1313

1414
permissions:
15-
contents: read
16-
pages: write # to deploy to Pages
17-
id-token: write # to verify the deployment originates from an appropriate source
18-
19-
environment:
20-
name: github-pages
21-
url: ${{steps.deployment.outputs.page_url}}
22-
15+
contents: write # to update the retype branch
16+
2317
steps:
2418
- uses: actions/checkout@v4
2519

@@ -30,11 +24,6 @@ jobs:
3024
config: docs/retype.yaml
3125
license: ${{ secrets.RETYPE_API_KEY }}
3226

33-
- name: Upload Retype artifact
34-
uses: actions/upload-pages-artifact@v2
27+
- uses: retypeapp/action-github-pages@latest
3528
with:
36-
path: ${{ steps.retype.outputs.retype-output-path }}
37-
38-
- name: Deploy to GitHub Pages
39-
id: deployment
40-
uses: actions/deploy-pages@v4
29+
update-branch: true

0 commit comments

Comments
 (0)