From 87fd51b1e14912c5bc7e3fd66c88abe88d621c65 Mon Sep 17 00:00:00 2001 From: Tom Date: Fri, 9 Aug 2024 23:39:24 +0200 Subject: [PATCH] Update workflow --- .gitea/workflows/deploy.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 7796699..e85aee1 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -1,11 +1,16 @@ name: deploy config -run-name: ${{ gitea.actor }} deploys new nginx config 🚀 +run-name: 🚀 ${{ gitea.actor }} deploys new nginx config 🚀 on: [push] jobs: Explore-Gitea-Actions: - runs-on: docker + runs-on: play steps: - - run: whoami - - run: cd /etc/nixos && git pull - - run: nixos-rebuild switch \ No newline at end of file + - name: 🎉 Test 🎉 + run: whoami + - name: 💡 get latest git revision 🍏 + run: cd /etc/nixos && git pull + - name: 🐧 Activate config 🐧 + run: nixos-rebuild switch + - name: 🔎 cleanup nix store 🖥️ + run: nix-store --gc