Compare commits

..

No commits in common. "5361174df602d6154da634c48e2bdad7de334bd1" and "a784b129627283c6bb313c480c14360da473af8a" have entirely different histories.

2 changed files with 4 additions and 19 deletions

View file

@ -1,23 +1,10 @@
on: [push] on: [push]
jobs: jobs:
check: test:
runs-on: nix runs-on: nix
steps: steps:
- uses: https://code.forgejo.org/actions/checkout@v3 - uses: https://code.forgejo.org/actions/checkout@v3
# - uses: DeterminateSystems/nix-installer-action@main
# - uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix flake check . - run: nix flake check .
- run: nix develop # - run: echo hi
deploy:
runs-on: nix
needs: check
if: contains(github.event.head_commit.message, 'deploy:')
steps:
- uses: https://code.forgejo.org/actions/checkout@v3
- name: Setup SSH key
run: |
mkdir -p ~/.ssh
echo "$SSHKEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
env:
SSHKEY: ${{ secrets.SSHKEY }}
- run: deploy

View file

@ -6,8 +6,6 @@
name = "nixos-unified-template-shell"; name = "nixos-unified-template-shell";
meta.description = "Shell environment for modifying this Nix configuration"; meta.description = "Shell environment for modifying this Nix configuration";
packages = with pkgs; [ packages = with pkgs; [
openssh
deploy-rs
ssh-to-age ssh-to-age
sops sops
just just