mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-19 06:19:12 +00:00
ci: update environment and fix format errors
This commit is contained in:
parent
8d27b971fb
commit
84f51065ef
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -4,8 +4,6 @@ on:
|
||||
branches:
|
||||
- master
|
||||
- develop
|
||||
env:
|
||||
NIXPKGS_ALLOW_UNFREE: "1"
|
||||
jobs:
|
||||
build-custom-packages:
|
||||
runs-on: ubuntu-latest
|
||||
@ -21,3 +19,5 @@ jobs:
|
||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||
- name: Build custom packages
|
||||
run: nix build -f ./pkgs --impure
|
||||
env:
|
||||
NIXPKGS_ALLOW_UNFREE: "1"
|
||||
|
2
.github/workflows/iso.yml
vendored
2
.github/workflows/iso.yml
vendored
@ -21,4 +21,4 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run: |
|
||||
gh release create "${{ github.ref }}" --generate-notes build-iso-result/iso/*.iso
|
||||
gh release create latest --prerelease --generate-notes build-iso-result/iso/*.iso
|
||||
|
3
.github/workflows/site.yml
vendored
3
.github/workflows/site.yml
vendored
@ -1,10 +1,9 @@
|
||||
name: "Build project site"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- docs/
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
7
.github/workflows/update.yml
vendored
7
.github/workflows/update.yml
vendored
@ -11,16 +11,17 @@ jobs:
|
||||
- uses: DeterminateSystems/magic-nix-cache-action@v2
|
||||
- uses: DeterminateSystems/nix-installer-action@v4
|
||||
- name: Update flake inputs
|
||||
run: nix flake update --commit-lock-file --commit-lockfile-summary "flake.lock: update inputs"
|
||||
run: |
|
||||
nix flake update --commit-lock-file --commit-lockfile-summary "flake.lock: update inputs"
|
||||
env:
|
||||
GIT_AUTHOR_NAME: github-actions[bot]
|
||||
GIT_AUTHOR_EMAIL: github-actions[bot]@users.noreply.github.com
|
||||
GIT_COMMITTER_NAME: github-actions[bot]
|
||||
GIT_COMMITTER_EMAIL: github-actions[bot]@users.noreply.github.com
|
||||
- name: Build custom packages
|
||||
run: nix build --impure --file ./pkgs
|
||||
run: nix build --dry-run --impure --file ./pkgs
|
||||
- name: Build NixOS configurations
|
||||
run: nix build --impure .#images.{ni,plover,bootstrap}
|
||||
run: nix build --dry-run --impure .#images.{ni,plover,bootstrap}
|
||||
- name: Push changes to remote
|
||||
run: |
|
||||
git remote remove origin
|
||||
|
Loading…
Reference in New Issue
Block a user