Skip to content

Commit 9e233c7

Browse files
committed
Fix publish-docs workflow
Updates publish_docs.yml to skip configure-pages action and the deploy step in personal forks so the workflow can succeed. Signed-off-by: Winford <winford@object.stream>
1 parent d687c9f commit 9e233c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/publish_docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
uses: actions/checkout@v5
3333

3434
- name: "Setup Pages"
35+
if: ${{ github.repository == 'atomvm/atomvm_rebar3_plugin' }}
3536
uses: actions/configure-pages@v5
3637

3738
- name: "Build Docs"
@@ -46,6 +47,7 @@ jobs:
4647
path: ./docs
4748

4849
deploy:
50+
if: ${{ github.repository == 'atomvm/atomvm_rebar3_plugin' }}
4951
# Add a dependency to the build job
5052
needs: build
5153

@@ -62,6 +64,5 @@ jobs:
6264
uses: actions/configure-pages@v5
6365

6466
- name: Deploy to GitHub Pages
65-
if: ${{ github.repository == 'atomvm/atomvm_rebar3_plugin' }}
6667
id: deployment
6768
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)