Files
pauljanseneu/.gitea/workflows/netlify-deploy.yaml
Dave Jansen 56aebd4950
All checks were successful
Deploy to Netlify / Deploy to Netlify (push) Successful in 1m28s
Minor cleanup pass.
- Run prettier over all HTML.
- Combine jquery and jquery-migrate scripts
- Remove unused WP emoji code.
- Remove unused WP comment script.
- Remove unused WP embed script.
- Add Umami analytics (self-hosted, privacy friendly analytics)
2023-08-30 12:45:38 +09:00

31 lines
917 B
YAML

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-branch: 'main'
production-deploy: true
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deployed from Gitea Action"
enable-commit-status: false
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