Commit graph

65 commits

Author SHA1 Message Date
Gaetan Lepage
880a570588 ci: add support for new stable nixos-24.11 branch 2024-11-30 23:33:30 +01:00
Matt Sturgeon
98bedb5eeb
ci/docs: stable -> 24.05 in docs path 2024-11-30 21:59:09 +00:00
Matt Sturgeon
72762c8ef1
ci/docs: remove on 24.05 branch
This doesn't work because we can only deploy docs from the main branch.
2024-11-30 20:04:09 +00:00
Matt Sturgeon
c1271fa10a
ci: fix nix-install-action versions
`30` -> `v30` 😭
2024-11-22 22:37:05 +00:00
Matt Sturgeon
fb49a740f8
ci: bump nix-install-action 2024-11-22 21:21:36 +00:00
Matt Sturgeon
863d7d5ade
docs: link to all "available" versions of the docs 2024-11-22 09:13:11 +00:00
Matt Sturgeon
9416bc9018
docs/ci: use nix build --argstr to safely supply input
Rather than interpolating input (flakeref & baseHref) into the build
expression, take advantage of `--argstr`.

See "Common evaluation options" in `nix build --help` for more detail.
2024-11-20 19:41:14 +00:00
Matt Sturgeon
2017830a2c
docs/ci: fix a typo when calling mkdir -p
Should have been included in 8524447554
2024-11-18 22:33:22 +00:00
Matt Sturgeon
8524447554
docs/ci: fix docs being installed to nixvim/nixvim/<subdir>
We don't need to specify `/nixvim/` as part of our install path as that
is where gh-pages uploads to by default.

Rather, we only need to specify the full `/nixvim/foo/` in the base-href
and the install path should just be `/foo`.
2024-11-18 22:16:16 +00:00
Matt Sturgeon
2bc8dc86a0
ci/docs: fix env vs environment error 2024-11-18 21:14:40 +00:00
Matt Sturgeon
99b066ba6d
docs: only set base-href in CI built docs
This reverts commit c12e59ff7c
2024-11-18 19:54:38 +00:00
Austin Horstman
78fc4be6a8
workflows/update: only run upstream 2024-08-17 14:44:48 -05:00
Matt Sturgeon
83a8109ec4
ci/update: make steps optional
Allow toggling off the flake.lock or generate files steps.
2024-08-03 21:56:41 +01:00
Matt Sturgeon
d3cb750e6a
update-scripts: move out of flake
See the explanation in the new update-scripts/README.md file.
2024-08-03 21:56:40 +01:00
Quentin Boyer
47b6c4804f github: Fix stable doc path 2024-07-25 22:34:45 +00:00
Quentin Boyer
c12e59ff7c doc: Use correct href for nuscht-search
This commit also adds a subdirectory in the docs derivation, to have the
same local structure than what is uploaded on github pages.
2024-07-25 18:23:47 +00:00
Matt Sturgeon
b9ed900032
github/update: remove broken team-reviewers
> Unable to request reviewers.
> If requesting team reviewers a 'repo' scoped PAT is required.
2024-07-15 12:17:30 +01:00
Matt Sturgeon
cff06c8570
github/update: improve summary for generated files 2024-07-15 12:11:28 +01:00
Matt Sturgeon
bd1dddaf50
github/update: run update on the respective branch
- Run the `update.yml` workflow on the triggered branch, replace the
  job matrix with a conditional step that runs update on nixos-24.05.
- Added a `cancel-in-progress` concurrency group.
- Disabled committing in PR action (using negative add-paths).
2024-07-15 12:11:27 +01:00
Matt Sturgeon
abc409c16f
github: refactor update CI workflow
- Rename workflow to simply "update"
- Drop the DeterminateSystems/update-flake-lock action
- Instead use `nix flake update --commit-lock-file`
- Also use `generate-files`'s `--commit` option
- Use peter-evans/create-pull-request to open a PR
2024-07-10 08:30:47 +01:00
Matt Sturgeon
aad2e32b5a treewide: reformat 2024-07-08 16:24:47 +00:00
traxys
668894b6d3 github: Re-generate the files on updates 2024-07-05 13:34:44 +02:00
Matt Sturgeon
7a2a25af02
ci: simplify docs-build workflow 2024-06-14 15:42:05 +01:00
Gaetan Lepage
f1289fadee misc/post-release 24.05: update workflows 2024-06-06 14:46:34 +02:00
traxys
9697385115 actions: Update both stable & unstable flake.lock 2024-05-26 20:03:51 +02:00
traxys
b0b010a0e9 docs: Deploy both stable & unstable docs to github pages 2024-05-21 22:56:40 +02:00
Gaetan Lepage
c9f3d15796 github-workflows/build_documentation: update cachix action 2024-05-21 08:59:30 +02:00
Mikael Fangel
8eeefad9dd build_documentation: update workflow actions 2024-05-11 11:47:20 +02:00
Gaetan Lepage
7dae5228f1 ci/update: update actions to latest versions 2024-03-23 14:18:25 +01:00
Gaetan Lepage
0a5e0c68b8 ci/flakestry: debugging 2024-03-19 14:56:02 +01:00
Gaetan Lepage
08ac92a38f Revert "ci/flakestry: debugging"
This reverts commit cde1aa3711.
2024-03-19 14:53:45 +01:00
Gaetan Lepage
cde1aa3711 ci/flakestry: debugging 2024-03-19 14:46:59 +01:00
Gaetan Lepage
331f0430e4 ci: update cachix install-nix-action to fix doc generation 2024-02-16 11:03:19 +01:00
Gaetan Lepage
be2ed580e8 ci/flakestry: fix typo 2024-01-22 13:42:23 +01:00
Gaetan Lepage
06d97a1b44 ci/flakestry: automatically publish flake on Flakestry 2024-01-20 20:27:51 +01:00
Gaetan Lepage
7582a6e413 ci/check: remove (it is now empty) 2024-01-06 17:42:57 +01:00
Gaetan Lepage
ef3b3f3bbb ci/check: use github runner instead of self-hosted 2024-01-06 15:58:54 +01:00
Gaetan Lepage
1ebc9c9080 ci/check: remove useless 'nix flake check' (now done by buildbot) 2024-01-06 15:58:54 +01:00
Gaetan Lepage
a8852ca416 ci/check: remove useless check of the template flake 2024-01-06 15:08:08 +01:00
Gaetan Lepage
e8d6b60a2b flake: move documentation building from CI to flake check 2024-01-06 14:37:18 +01:00
Gaetan Lepage
78276e91bb ci/check: prevent CI from using remote builders 2024-01-03 07:38:42 +01:00
Gaetan Lepage
2f13e3a21d ci/check: prevent CI from using remote builders 2024-01-01 23:19:40 +01:00
Gaetan Lepage
d6d47afa42 gitignore: add templates/_wrapper/simple/flake.lock 2023-12-08 16:12:42 +01:00
Gaetan Lepage
fda9e1e9a4 ci: use cachix-action@v13 2023-11-28 18:59:45 +01:00
Gaetan Lepage
ab9b6abc22 ci/update: remove useless autogenerated-configs stuff 2023-11-23 22:42:04 +01:00
Gaetan Lepage
f95ace94b2 ci/check: switch to self-hosted runner 2023-11-23 15:05:58 +01:00
Gaetan Lepage
2a849a4c35 ci: switch to actions/checkout@v4 2023-11-23 15:05:58 +01:00
Gaetan Lepage
e5cc0c093b ci: switch back to GitHub runner 2023-11-23 09:55:45 +01:00
Gaetan Lepage
3aaa1531a9 ci/check: Run checks for all systems (not only x86_64-darwin) 2023-11-23 09:55:45 +01:00
Gaetan Lepage
369254237a github-actions/update: fix nix installation 2023-10-09 12:13:06 +02:00