The source code for my personal website
0

Configure Feed

Select the types of activity you want to include in your feed.

ci: update ci to use a github actions workflow

hanna (Mar 18, 2026, 5:53 PM EDT) 55abcaef 58aacb29

+53 -24
+49
.github/workflows/cloudflare.yml
··· 1 + name: cloudflare 2 + 3 + on: 4 + push: 5 + branches: 6 + - main 7 + paths: 8 + - .github/workflows/cloudflare.yml 9 + - astro.config.mjs 10 + - pnpm-lock.yaml 11 + - flake.lock 12 + - flake.nix 13 + - public/** 14 + - src/** 15 + 16 + env: 17 + TERM: 'dumb' 18 + NO_COLOR: 'true' 19 + 20 + jobs: 21 + build: 22 + runs-on: ubuntu-latest 23 + timeout-minutes: 10 24 + steps: 25 + - name: Checkout repository 26 + uses: actions/checkout@v4 27 + - name: Setup lix toolchain 28 + uses: handelsblattmediagroup/lix-quick-install-action@v3 29 + - name: Setup lix store cache 30 + uses: DeterminateSystems/magic-nix-cache-action@v13 31 + - name: Build static files 32 + run: nix develop -c pnpm run build 33 + - name: Upload static files 34 + uses: actions/upload-artifact@v4 35 + with: { name: 'website-${{ github.sha }}', path: 'dist/' } 36 + deploy: 37 + runs-on: ubuntu-latest 38 + timeout-minutes: 10 39 + needs: [build] 40 + steps: 41 + - name: Download static files 42 + uses: actions/download-artifact@v4 43 + with: { name: 'website-${{ github.sha }}', path: 'dist/' } 44 + - name: Deploy to Cloudflare 45 + uses: cloudflare/wrangler-action@v3 46 + with: 47 + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} 48 + accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} 49 + command: pages deploy dist --project-name=website
-23
.tangled/workflows/pages.yml
··· 1 - engine: 'nixery' 2 - 3 - when: 4 - - event: ['push'] 5 - branch: ['main'] 6 - 7 - dependencies: 8 - nixpkgs/nixpkgs-unstable: 9 - - 'nodejs_latest' 10 - - 'uutils-sed' 11 - - 'pnpm' 12 - 13 - environment: 14 - TERM: 'dumb' 15 - NO_COLOR: 'true' 16 - 17 - steps: 18 - - name: 'Install dependencies' 19 - command: pnpm install --frozen-lockfile 20 - - name: 'Build static website files' 21 - command: pnpm run build 22 - - name: 'Deploy files to cloudflare' 23 - command: pnpm run deploy --branch main
+4 -1
README.md
··· 1 - # website 1 + # website ![license] ![status] 2 + 3 + [license]: https://img.shields.io/github/license/hqnna/website?labelColor=4c4350&color=3672cb 4 + [status]: https://img.shields.io/github/actions/workflow/status/hqnna/website/cloudflare.yml?labelColor=4c4350 2 5 3 6 The source code of my personal website and blog, made using the [Astro] static 4 7 site generator.