Initial commit
This commit is contained in:
commit
50e05ead85
20
.forgejo/workflows/publish.yaml
Normal file
20
.forgejo/workflows/publish.yaml
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: docker
|
||||||
|
env:
|
||||||
|
NETLIFY_SITE_ID: cf248f4b-6e60-4956-b134-73122ae44299
|
||||||
|
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
|
||||||
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
# Local Netlify folder
|
||||||
|
.netlify
|
||||||
1
site/data.json
Normal file
1
site/data.json
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
{"data":"this is some data"}
|
||||||
Loading…
Reference in a new issue