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:
|
branches:
|
||||||
- master
|
- master
|
||||||
- develop
|
- develop
|
||||||
env:
|
|
||||||
NIXPKGS_ALLOW_UNFREE: "1"
|
|
||||||
jobs:
|
jobs:
|
||||||
build-custom-packages:
|
build-custom-packages:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@ -21,3 +19,5 @@ jobs:
|
|||||||
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
|
||||||
- name: Build custom packages
|
- name: Build custom packages
|
||||||
run: nix build -f ./pkgs --impure
|
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:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
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"
|
name: "Build project site"
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- master
|
||||||
paths:
|
|
||||||
- docs/
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
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/magic-nix-cache-action@v2
|
||||||
- uses: DeterminateSystems/nix-installer-action@v4
|
- uses: DeterminateSystems/nix-installer-action@v4
|
||||||
- name: Update flake inputs
|
- 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:
|
env:
|
||||||
GIT_AUTHOR_NAME: github-actions[bot]
|
GIT_AUTHOR_NAME: github-actions[bot]
|
||||||
GIT_AUTHOR_EMAIL: github-actions[bot]@users.noreply.github.com
|
GIT_AUTHOR_EMAIL: github-actions[bot]@users.noreply.github.com
|
||||||
GIT_COMMITTER_NAME: github-actions[bot]
|
GIT_COMMITTER_NAME: github-actions[bot]
|
||||||
GIT_COMMITTER_EMAIL: github-actions[bot]@users.noreply.github.com
|
GIT_COMMITTER_EMAIL: github-actions[bot]@users.noreply.github.com
|
||||||
- name: Build custom packages
|
- name: Build custom packages
|
||||||
run: nix build --impure --file ./pkgs
|
run: nix build --dry-run --impure --file ./pkgs
|
||||||
- name: Build NixOS configurations
|
- 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
|
- name: Push changes to remote
|
||||||
run: |
|
run: |
|
||||||
git remote remove origin
|
git remote remove origin
|
||||||
|
Loading…
Reference in New Issue
Block a user