nbco-hugo-web/.gitea/workflows/netlifydeploy.yaml
Alan Youngblood e7f447d229
Some checks failed
Deploy to Netlify / Deploy Hugo site to Netlify (push) Failing after 2s
act_runner url fixed auth with token
2024-01-16 15:36:43 -05:00

33 lines
962 B
YAML

name: "Deploy to Netlify"
on:
push:
branches:
- main
jobs:
deploy:
name: "Deploy Hugo site to Netlify"
steps:
- uses: https://Zeronaut:78ee387cb5525170c47475455b852029e1620cfc@gitea.oakcityit.net/Zeronaut/nbco-hugo-web/checkout@v3
name: Checkout
- name: Build
run: |
hugo version
hugo
- uses: https://github.com/nwtgck/actions-netlify@v2.0
name: Deploy
with:
publish-dir: "./dist"
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