Renovate Bot
1661f950d8
All checks were successful
build and publish / build and publish (push) Successful in 3m3s
Co-authored-by: Renovate Bot <renovate-bot@gitea.com> Co-committed-by: Renovate Bot <renovate-bot@gitea.com>
31 lines
713 B
YAML
31 lines
713 B
YAML
name: build and publish
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
lint:
|
|
name: build and publish
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 18
|
|
- name: Build
|
|
run: |
|
|
npm ci
|
|
npm run build
|
|
- name: publish to netlify
|
|
uses: nwtgck/actions-netlify@v3.0
|
|
with:
|
|
publish-dir: build
|
|
production-branch: main
|
|
env:
|
|
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
|
NETLIFY_SITE_ID: b3cd7cc2-68be-4467-b3a6-38f1fdfa0cfc
|