Update workflow
deploy config / Explore-Gitea-Actions (push) Waiting to run Details

This commit is contained in:
Tom 2024-08-09 23:40:00 +02:00
parent 3fea1cb0b5
commit e322411d53
1 changed files with 10 additions and 5 deletions

View File

@ -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: gitea
runs-on: play
steps:
- run: whoami
- run: cd /etc/nixos && git pull
- run: nixos-rebuild switch
- 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