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
# Deployment job
deploy:
deploy-hugo:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to neocities
uses: bcomnes/deploy-to-neocities@v1
with:
api_token: ${{ secrets.NEOCITIES_API_TOKEN }}
cleanup: true
dist_dir: ./public
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
deploy-neocities:
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to neocities
uses: bcomnes/deploy-to-neocities@v1
with:
api_token: ${{ secrets.NEOCITIES_API_TOKEN }}
cleanup: true
dist_dir: .