Skip to content

Commit

Permalink
[IDP-1845] Fix docs deploy (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
tjosepo authored Jul 23, 2024
1 parent 649959e commit 38b06df
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,8 @@ jobs:
runs-on: ubuntu-latest

permissions:
contents: read
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source

environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}

contents: write # to update the retype branch

steps:
- uses: actions/checkout@v4

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

- name: Upload Retype artifact
uses: actions/upload-pages-artifact@v2
- uses: retypeapp/action-github-pages@latest
with:
path: ${{ steps.retype.outputs.retype-output-path }}

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
update-branch: true

0 comments on commit 38b06df

Please sign in to comment.