3 hours ago · Tech · 0 comments

I redesigned my Neocities site to lean harder into a GeoCities look. While I was in there, I wanted a deploy process simple enough to run from my iPad. Neocities is dead-simple hosting for static sites. Bret Comnes already built a GitHub Action for deploying to it, so the hard part was done. I just wanted a clean test run before pointing it at the live site. ci.yml runs Prettier over the code and builds the site. It fires on any push to main, any pull request, or a manual trigger. name: CI # I wanted the CI to run on any push to main, pull request, or # manually triggered. on: push: branches: [main] pull_request: branches: [main] workflow_dispatch: jobs: ci: runs-on: ubuntu-latest steps: - id: checkout name: 📥 Checkout code uses: actions/checkout@v4 with: lfs: true - id: setup-node name: ⚙️ Setup Node.js uses: actions/setup-node@v4 with: node-version-file: ".nvmrc" cache: "npm" - id: install-dependencies name: 📦 Install dependencies run: npm ci - id: cache-dependencies name: 📂 Cache…

No comments yet. Log in to reply on the Fediverse. Comments will appear here.