We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0790d4 commit 9efe3d2Copy full SHA for 9efe3d2
.github/workflows/update.yml
@@ -4,6 +4,9 @@ on:
4
push:
5
branches:
6
- 'main'
7
+ pull_request:
8
+ branches:
9
+ - 'main'
10
workflow_dispatch:
11
jobs:
12
update:
@@ -17,7 +20,14 @@ jobs:
17
20
- run: uv run generate.py # generates "index.html"
18
21
- run: mkdir -p build && cp index.html style.css build
19
22
- name: Deploy 🚀
23
+ if: github.event_name != 'pull_request'
24
uses: JamesIves/github-pages-deploy-action@v4
25
with:
26
folder: build
27
clean: true
28
+ - name: Debug index.html if pull request
29
+ if: github.event_name == 'pull_request'
30
+ run: |
31
+ curl -Lo index.html-public https://github.com/m-aciek/pydocs-translation-dashboard/raw/refs/heads/gh-pages/index.html
32
+ diff --color=always -u index.html-public index.html || :
33
+ cat index.html
0 commit comments