Workflow: update ci.yml
This commit is contained in:
parent
34717830a4
commit
d9a8960060
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -5,13 +5,13 @@ jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v3
|
||||||
- name: setup hugo
|
- name: setup hugo
|
||||||
uses: peaceiris/actions-hugo@v2
|
uses: peaceiris/actions-hugo@v2
|
||||||
- name: build
|
- name: build
|
||||||
run: hugo --minify
|
run: hugo --minify
|
||||||
- uses: kognise/neocities-deploy-action@v1
|
- uses: bcomnes/deploy-to-neocities@v1
|
||||||
if: ${{ github.ref == 'refs/heads/main' }}
|
if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
with:
|
with:
|
||||||
neocities_token : ${{ secrets.NEOCITIES_API_KEY }}
|
api_token: ${{ secrets.NEOCITIES_API_KEY }}
|
||||||
directory: 'public/'
|
dist_dir: public
|
||||||
|
|
Loading…
Reference in New Issue
Block a user