Skip to content

Commit

Permalink
Remove repo configuration step
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarber-akamai committed Aug 30, 2024
1 parent 29b7c73 commit d60a323
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ jobs:
contents: write
pages: write
id-token: write
repo: write
steps:
- name: Checkout the documentation branch
continue-on-error: true
Expand Down Expand Up @@ -97,17 +98,5 @@ jobs:
git commit --allow-empty -m "Rebuild ${{ github.ref_name }} from ${{ github.sha }}";
git push origin static/docs;
- name: Ensure GitHub Pages is configured to publish from the docs branch
uses: actions/github-script@v7
with:
script: |
github.rest.repos.createPagesSite({
owner: context.repo.owner,
repo: context.repo.repo,
source: {
branch: "static/docs",
}
})
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4

0 comments on commit d60a323

Please sign in to comment.