alpha
Login
or
Join now
tombl.dev
/
distro
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
ci: deploy site (#15)
author
Thomas Stokes
committer
GitHub
date
1 year ago
(Jan 18, 2025, 9:59 PM +0800)
commit
07e5c52d
07e5c52d54fb314936dd5620257d9afe4662b416
parent
4b7f3450
4b7f3450e6565c3c31132d3d626969e10ced499a
+19
1 changed file
Expand all
Collapse all
Unified
Split
.github
workflows
ci.yml
+19
.github/workflows/ci.yml
Reviewed
···
45
45
eval "$(nix print-dev-env .#ci)"
46
46
attic login --set-default tombl https://nix.tombl.net '${{secrets.ATTIC_TOKEN}}'
47
47
nix-fast-build --skip-cached --no-nom --flake '.#checks.x86_64-linux.${{ matrix.pkg }}^*' --attic-cache=linuxwasm
48
48
+
49
49
+
deploy:
50
50
+
needs: build
51
51
+
runs-on: ubuntu-24.04
52
52
+
steps:
53
53
+
- uses: actions/checkout@v4
54
54
+
- uses: DeterminateSystems/nix-installer-action@main
55
55
+
with:
56
56
+
extra-conf: accept-flake-config = true
57
57
+
- uses: DeterminateSystems/magic-nix-cache-action@main
58
58
+
- name: Build
59
59
+
run: |
60
60
+
eval "$(nix print-dev-env .#ci)"
61
61
+
nix build .#packages.x86_64-linux.site --print-build-logs
62
62
+
- uses: cloudflare/wrangler-action@v3
63
63
+
with:
64
64
+
apiToken: ${{secrets.CLOUDFLARE_API_TOKEN}}
65
65
+
accountId: 7d87194d9d4af2959fb81de343dd63d9
66
66
+
command: pages deploy result/ --project-name=linux