This commit is contained in:
parent
ec10f0d2ea
commit
e339897eba
21
.forgejo/workflows/publish.yaml
Normal file
21
.forgejo/workflows/publish.yaml
Normal file
|
@ -0,0 +1,21 @@
|
|||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: docker
|
||||
env:
|
||||
NETLIFY_SITE_ID: dc9e94f6-92d2-48e5-ab37-53b8617d8950
|
||||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 21.1
|
||||
- run: |
|
||||
npm install
|
||||
npx eleventy
|
||||
- run: |
|
||||
npm install netlify-cli -g
|
||||
netlify deploy --dir build/site --prod
|
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -1,4 +1,6 @@
|
|||
node_modules/
|
||||
_site/
|
||||
build/
|
||||
.idea/
|
||||
.idea/
|
||||
# Local Netlify folder
|
||||
.netlify
|
||||
|
|
Loading…
Reference in a new issue