~cyplo/dotfiles

dotfiles/.build.yml -rw-r--r-- 533 bytes
2f38c023 — Cyryl Płotnicki fix permissions for mastodon user 4 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
image: nixos/latest
sources:
    - https://git.sr.ht/~cyplo/dotfiles

secrets:
    - 6c23a8c1-7a30-4a7e-b3b7-0171e898a7d3

tasks:
  - check: |
        cd dotfiles
        nix-shell --pure --run 'nix --extra-experimental-features "flakes nix-command" flake info'
        nix-shell --pure --run 'statix check'

  - github_push: |
        set +xv
        cd dotfiles
        GITHUB_TOKEN=`cat ~/.github_token`
        git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git
        git push github --all --force