misc update

This commit is contained in:
sashinexists
2025-01-09 06:13:01 +11:00
parent b29bc550c5
commit c4c26c0b4f
27 changed files with 797 additions and 20 deletions

32
.github/deploy-to-netlify.yaml vendored Normal file
View File

@@ -0,0 +1,32 @@
name: 'Deploy to Netlify'
on:
push:
branches:
- main
jobs:
deploy:
name: 'Deploy to Netlify'
steps:
- uses: actions/checkout@v3
name: Checkout
- name: Build
run: |
npm --version && node --version
npm ci --no-update-notifier
npm run build
- uses: https://github.com/nwtgck/actions-netlify@v2.0
name: Deploy
with:
publish-dir: './build'
production-deploy: true
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