Specify base url for page build
All checks were successful
/ Build and deploy website (push) Successful in 4m18s
All checks were successful
/ Build and deploy website (push) Successful in 4m18s
This commit is contained in:
parent
4649c9b07a
commit
4af8e6a5a7
1 changed files with 2 additions and 1 deletions
|
@ -6,6 +6,7 @@ on:
|
|||
env:
|
||||
SERVER_URL: ${{ vars.SERVER_URL }}
|
||||
FTP_USER: ${{ vars.FTP_USER }}
|
||||
SITE_URL: ${{ vars.SITE_URL }}
|
||||
|
||||
jobs:
|
||||
build-website:
|
||||
|
@ -21,7 +22,7 @@ jobs:
|
|||
uses: actions/checkout@v4
|
||||
|
||||
- name: Build web
|
||||
run: zola build
|
||||
run: zola build --base-url ${{ env.SITE_URL }}
|
||||
- name: Minify files
|
||||
run: minify --all -r -o . public
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue