gitea action hugo2netlify added
Some checks failed
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s
Deploy to Netlify / Deploy Hugo site to Netlify (push) Failing after 8s

This commit is contained in:
Alan Youngblood 2024-04-12 11:39:14 -04:00
parent 0ce029205a
commit 7cf5f51f56

View File

@ -0,0 +1,32 @@
name: "Deploy to Netlify"
on:
push:
branches:
- main
jobs:
deploy:
name: "Deploy Hugo site to Netlify"
steps:
- uses: actions/checkout@v3
name: Checkout
- name: Build
run: |
hugo version
hugo
- uses: https://github.com/nwtgck/actions-netlify@v2.0
name: Deploy
with:
publish-dir: "./public"
production-deploy: true
#github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deployed from Gitea Action"
enable-commit-comment: false
enable-pull-request-comment: false
overwrites-pull-request-comment: true
enable-github-deployment: false
env:
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
timeout-minutes: 1