commit 50e05ead85220bdb42d29d1fcc68e88e9a14c165 Author: Leon Mika Date: Sat Nov 8 09:40:08 2025 +1100 Initial commit diff --git a/.forgejo/workflows/publish.yaml b/.forgejo/workflows/publish.yaml new file mode 100644 index 0000000..b4c9052 --- /dev/null +++ b/.forgejo/workflows/publish.yaml @@ -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 \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6582234 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +# Local Netlify folder +.netlify diff --git a/site/data.json b/site/data.json new file mode 100644 index 0000000..1b36e0b --- /dev/null +++ b/site/data.json @@ -0,0 +1 @@ +{"data":"this is some data"} \ No newline at end of file