pipeline: push_to_github: image: nixpkgs/nix-flakes:latest pull: true commands: - mkdir -p ~/.config/nix - echo "store = /var/build-nix-store" >> /etc/nix/nix.conf - echo "sandbox = false" >> /etc/nix/nix.conf - cat /etc/nix/nix.conf - nix develop -c git lfs fetch --all - nix develop -c git remote add github https://cyplo:$GITHUB_TOKEN@github.com/cyplo/dotfiles.git - nix develop -c git push github --all --force secrets: [ github_token ] volumes: - /var/lib/woodpecker/nix-store:/var/build-nix-store