aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2024-03-06 15:11:16 -0500
committerGitHub <noreply@github.com>2024-03-06 15:11:16 -0500
commitff7c9d34160ceeffb368c5b8f04b86c74c579a47 (patch)
tree612f6c3bc4d351d3e1a6a70b048c8ad547e99025 /.github/workflows
parentbea5d261ae43bf202a9ac9384fdd46d6d3a85c6c (diff)
downloadxesite-ff7c9d34160ceeffb368c5b8f04b86c74c579a47.tar.xz
xesite-ff7c9d34160ceeffb368c5b8f04b86c74c579a47.zip
Create flakehub-publish-rolling.yml
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/flakehub-publish-rolling.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/flakehub-publish-rolling.yml b/.github/workflows/flakehub-publish-rolling.yml
new file mode 100644
index 0000000..a6df06f
--- /dev/null
+++ b/.github/workflows/flakehub-publish-rolling.yml
@@ -0,0 +1,24 @@
+name: "Publish every Git push to main to FlakeHub"
+on:
+ push:
+ branches:
+ - "main"
+jobs:
+ flakehub-publish:
+ runs-on: "ubuntu-latest"
+ permissions:
+ id-token: "write"
+ contents: "read"
+ steps:
+ - uses: "actions/checkout@v3"
+ - uses: "DeterminateSystems/nix-installer-action@main"
+ with:
+ flakehub: true
+ - uses: "DeterminateSystems/magic-nix-cache-action@flakehub-cache"
+ - run: |
+ nix build .#bin .#patreon-bin .#iosevka .#docker .#patreon-docker
+ - uses: "DeterminateSystems/flakehub-push@main"
+ with:
+ name: "Xe/site"
+ rolling: true
+ visibility: "public"