Skip to content

Commit f5301c8

Browse files
committed
fix: identation in workflow
1 parent 013ec8e commit f5301c8

File tree

1 file changed

+23
-23
lines changed

1 file changed

+23
-23
lines changed

.github/workflows/docs.yml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -88,29 +88,29 @@ jobs:
8888
[download the artifact](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/artifacts/${{ steps.get-artifact-id.outputs.artifact-id }})
8989
edit-mode: replace
9090

91-
deploy-docs:
92-
name: Deploy API Documentation
93-
runs-on: ubuntu-latest
94-
needs: build-docs
95-
if: ${{ github.event_name == 'push' }}
91+
deploy-docs:
92+
name: Deploy API Documentation
93+
runs-on: ubuntu-latest
94+
needs: build-docs
95+
if: ${{ github.event_name == 'push' }}
9696

97-
steps:
98-
- name: Get the docs_build artifact
99-
uses: actions/download-artifact@v4
100-
with:
101-
name: docs
102-
path: docs_build
103-
run-id: ${{ github.event.workflow_run.id }}
104-
github-token: ${{ secrets.GITHUB_TOKEN }}
97+
steps:
98+
- name: Get the docs_build artifact
99+
uses: actions/download-artifact@v4
100+
with:
101+
name: docs
102+
path: docs_build
103+
run-id: ${{ github.event.workflow_run.id }}
104+
github-token: ${{ secrets.GITHUB_TOKEN }}
105105

106-
- name: Display structure of docs
107-
run: ls -R docs_build/
106+
- name: Display structure of docs
107+
run: ls -R docs_build/
108108

109-
- name: Deploy to GitHub Pages
110-
uses: peaceiris/actions-gh-pages@v4
111-
with:
112-
github_token: ${{ secrets.GITHUB_TOKEN }}
113-
publish_dir: ./docs_build
114-
destination_dir: . # Ensure you deploy to the root of the gh-pages branch
115-
publish_branch: gh-pages
116-
keep_files: false
109+
- name: Deploy to GitHub Pages
110+
uses: peaceiris/actions-gh-pages@v4
111+
with:
112+
github_token: ${{ secrets.GITHUB_TOKEN }}
113+
publish_dir: ./docs_build
114+
destination_dir: . # Ensure you deploy to the root of the gh-pages branch
115+
publish_branch: gh-pages
116+
keep_files: false

0 commit comments

Comments
 (0)