Skip to content

Commit e121a26

Browse files
authored
Merge pull request #116 from MaxFork/max-updates-testcicd
Max updates testcicd
2 parents b2398a9 + 98d431c commit e121a26

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/render-on-push.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@ on:
44
push:
55
branches:
66
- main
7-
paths:
8-
- '**.py'
9-
- 'layouts/**'
10-
- 'docs/styles.css'
11-
- 'docs/script.js'
7+
# paths:
8+
# - '**.py'
9+
# - 'layouts/**'
10+
# - 'docs/styles.css'
11+
# - 'docs/script.js'
1212
pull_request:
1313
types: [closed]
1414
workflow_dispatch:
1515

1616
jobs:
1717
render-html:
18-
if: github.event_name != 'pull_request' || github.event.pull_request.merged == true
18+
if: ${{ github.event_name != 'pull_request' || (github.event.pull_request && github.event.pull_request.merged == true) }}
1919
runs-on: ubuntu-latest
2020
permissions:
2121
contents: write
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up Python
2727
uses: actions/setup-python@v6
2828
with:
29-
python-version: '3.14'
29+
python-version: '3.12'
3030

3131
- name: Install dependencies
3232
run: |
@@ -45,4 +45,4 @@ jobs:
4545
force_orphan: true
4646
user_name: 'github-actions[bot]'
4747
user_email: 'github-actions[bot]@users.noreply.github.com'
48-
commit_message: ${{ github.event_name == 'pull_request' && 'chore: deploy from merged PR' || 'chore: deploy after code changes' }}
48+
commit_message: 'chore: deploy from new update'

0 commit comments

Comments
 (0)