Removed beautifier step
Update php-render.yml
This commit is contained in:
parent
bcc7cf6c98
commit
20beca9025
14
.github/workflows/php-render.yml
vendored
14
.github/workflows/php-render.yml
vendored
@ -15,15 +15,6 @@ jobs:
|
|||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Setup Node.js
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: 'latest'
|
|
||||||
|
|
||||||
- name: Install HTML Beautifier
|
|
||||||
run: |
|
|
||||||
npm install -g beautify -g
|
|
||||||
|
|
||||||
- name: Setup PHP
|
- name: Setup PHP
|
||||||
uses: shivammathur/setup-php@v2
|
uses: shivammathur/setup-php@v2
|
||||||
with:
|
with:
|
||||||
@ -35,11 +26,6 @@ jobs:
|
|||||||
cd htdocs
|
cd htdocs
|
||||||
php ./index.php > ./index.raw.html
|
php ./index.php > ./index.raw.html
|
||||||
|
|
||||||
- name: Beautify HTML
|
|
||||||
run: |
|
|
||||||
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
|
||||||
if: ${{ github.actor == 'aziascreations' }}
|
if: ${{ github.actor == 'aziascreations' }}
|
||||||
|
Loading…
Reference in New Issue
Block a user