mirror of
https://github.com/fruworg/fruworg.github.io.git
synced 2024-11-16 09:27:17 +03:00
Update hugo.yml
This commit is contained in:
parent
546cc08b8c
commit
f83972e6ad
11
.github/workflows/hugo.yml
vendored
11
.github/workflows/hugo.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user