You've already forked pauljanseneu
Merge pull request 'Add Gitea Netlify deploy action' (#2) from add-gitea-netlify-deploy into main
Reviewed-on: https://git.davejansen.com/pappa/pauljanseneu/pulls/2
This commit was merged in pull request #2.
This commit is contained in:
29
.gitea/netlify-deploy.yaml
Normal file
29
.gitea/netlify-deploy.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
name: 'Deploy to Netlify'
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
workflow_dispatched:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
name: 'Deploy to Netlify'
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
name: Check out repository code
|
||||
- uses: https://github.com/nwtgck/actions-netlify@v2.0
|
||||
name: Deploying to Netlify..
|
||||
with:
|
||||
publish-dir: './static'
|
||||
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
|
||||
Reference in New Issue
Block a user