Update hugo.yml

This commit is contained in:
Руслан 2023-10-10 02:24:40 +06:00 committed by GitHub
parent da2991e84f
commit 5e9322b9f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
# Sample workflow for building and deploying a Hugo site to GitHub Pages # Sample workflow for building and deploying a Hugo site to GitHub Pages
name: Deploy Hugo site to Pages name: Deploy Hugo site to Pages * Neocities
on: on:
# Runs on pushes targeting the default branch # Runs on pushes targeting the default branch
@ -63,7 +63,7 @@ jobs:
path: ./public path: ./public
# Deployment job # Deployment job
deploy-hugo: deploy-page:
environment: environment:
name: github-pages name: github-pages
url: ${{ steps.deployment.outputs.page_url }} url: ${{ steps.deployment.outputs.page_url }}
@ -78,7 +78,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
steps: steps:
- 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 }}