From 8d27b971fb529249eefbfa194762770524bd752d Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Fri, 14 Jul 2023 22:09:18 +0800 Subject: [PATCH] ci: remove workflow for dotfiles input update Forgot it's here especially that I have a way to manage them files. --- .../automate-dotfiles-input-update.yml | 30 ------------------- 1 file changed, 30 deletions(-) delete mode 100644 .github/workflows/automate-dotfiles-input-update.yml diff --git a/.github/workflows/automate-dotfiles-input-update.yml b/.github/workflows/automate-dotfiles-input-update.yml deleted file mode 100644 index a0ea4f5f..00000000 --- a/.github/workflows/automate-dotfiles-input-update.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: "Automated flake input update for my dotfiles" -on: - schedule: - # Every day. - - cron: '30 0 * * *' -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" -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: cachix/install-nix-action@v22 - with: - nix_path: nixpkgs=channel:nixos-unstable - - name: Update flake inputs - run: | - nix flake lock --impure \ - --update-input 'dotfiles' \ - --commit-lock-file --commit-lockfile-summary "flake.lock: update dotfiles" - - name: Build NixOS configurations that uses the dotfiles - run: nix build .#nixosConfigurations.ni.config.system.build.toplevel - - name: Push updates to remote - run: | - git remote remove origin - git remote add origin https://${{ secrets.GITHUB_TOKEN }}@github.com/foo-dogsquared/nixos-config.git - git push --set-upstream origin master --tags