Getting ready for CI/CD
Build and Deploy / deploy (push) Failing after 32s

This commit is contained in:
2026-05-20 09:44:49 +03:00
parent 3b98043a61
commit 818d253a07
5 changed files with 94 additions and 2 deletions
+23
View File
@@ -0,0 +1,23 @@
name: Build and Deploy
on:
push:
branches: [master]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build
run: nix --extra-experimental-features 'nix-command flakes' build
- name: Deploy to Cloudflare Pages
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
run: |
npx --yes wrangler@3 pages deploy result/ \
--project-name=personal-site \
--commit-dirty=true