Fixed CWD in PHP workflow
Update php-render.yml
This commit is contained in:
parent
f04a33378c
commit
bcc7cf6c98
6
.github/workflows/php-render.yml
vendored
6
.github/workflows/php-render.yml
vendored
@ -32,11 +32,13 @@ jobs:
|
|||||||
|
|
||||||
- name: Pre-render PHP File
|
- name: Pre-render PHP File
|
||||||
run: |
|
run: |
|
||||||
php ./htdocs/index.php > ./htdocs/index.raw.html
|
cd htdocs
|
||||||
|
php ./index.php > ./index.raw.html
|
||||||
|
|
||||||
- name: Beautify HTML
|
- name: Beautify HTML
|
||||||
run: |
|
run: |
|
||||||
beautify -o ./htdocs/index.raw.html ./htdocs/index.html
|
cd htdocs
|
||||||
|
beautify -o ./index.raw.html ./index.html
|
||||||
|
|
||||||
- name: Upload `index.html` build artifact
|
- name: Upload `index.html` build artifact
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
|
Loading…
Reference in New Issue
Block a user