Update hugo.yml

This commit is contained in:
Руслан 2023-10-10 02:42:19 +06:00 committed by GitHub
parent 546cc08b8c
commit f83972e6ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,7 +55,6 @@ jobs:
HUGO_ENV: production HUGO_ENV: production
run: | run: |
hugo \ hugo \
--minify \
--baseURL "${{ steps.pages.outputs.base_url }}/" --baseURL "${{ steps.pages.outputs.base_url }}/"
- name: Upload artifact - name: Upload artifact
uses: actions/upload-pages-artifact@v2 uses: actions/upload-pages-artifact@v2
@ -80,11 +79,13 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
steps: steps:
- name: test - uses: actions/checkout@v3
run: ls -alh - uses: actions/download-artifact@v3
with:
path: public
- name: Deploy to Neocities - name: Deploy to Neocities
uses: bcomnes/deploy-to-neocities@v1 uses: bcomnes/deploy-to-neocities@v1
with: with:
api_token: ${{ secrets.NEOCITIES_API_TOKEN }} api_token: ${{ secrets.NEOCITIES_API_TOKEN }}
cleanup: false cleanup: true
dist_dir: ./ dist_dir: public