Gitea Act Runner Deploy updated
Some checks failed
Deploy to Netlify / Deploy Hugo site to Netlify (push) Has been cancelled
Some checks failed
Deploy to Netlify / Deploy Hugo site to Netlify (push) Has been cancelled
This commit is contained in:
parent
2e7625bd22
commit
de471801ec
@ -9,7 +9,7 @@ jobs:
|
|||||||
deploy:
|
deploy:
|
||||||
name: "Deploy Hugo site to Netlify"
|
name: "Deploy Hugo site to Netlify"
|
||||||
steps:
|
steps:
|
||||||
- uses: https://gitea.oakcityit.net/Zeronaut/nbco-hugo-web/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
name: Checkout
|
name: Checkout
|
||||||
with:
|
with:
|
||||||
registry: gitea.oakcityit.net
|
registry: gitea.oakcityit.net
|
||||||
|
36
.gitea/workflows/netlifydeploy.yaml.bak
Normal file
36
.gitea/workflows/netlifydeploy.yaml.bak
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
name: "Deploy to Netlify"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
name: "Deploy Hugo site to Netlify"
|
||||||
|
steps:
|
||||||
|
- uses: https://gitea.oakcityit.net/Zeronaut/nbco-hugo-web/checkout@v3
|
||||||
|
name: Checkout
|
||||||
|
with:
|
||||||
|
registry: gitea.oakcityit.net
|
||||||
|
username: ${{ secrets.REPO_USER }}
|
||||||
|
password: ${{ secrets.REPO_TOKEN }}
|
||||||
|
- 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
|
Loading…
Reference in New Issue
Block a user