Update hugo.yml

This commit is contained in:
Руслан 2023-10-10 02:04:53 +06:00 committed by GitHub
parent 95c9ed7f39
commit c68e375798
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -63,20 +63,24 @@ jobs:
path: ./public path: ./public
# Deployment job # Deployment job
deploy: deploy-hugo:
environment: environment:
name: github-pages name: github-pages
url: ${{ steps.deployment.outputs.page_url }} url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: build needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
deploy-neocities:
runs-on: ubuntu-latest
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 }}
cleanup: true cleanup: true
dist_dir: ./public dist_dir: .
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2