Update workflow
deploy config / Explore-Gitea-Actions (push) Failing after 3s Details

This commit is contained in:
Tom 2024-08-09 23:40:25 +02:00
parent 7b6fbb41a4
commit fd80998ef0
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: nginx
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