Nginx/.gitea/workflows/deploy.yml

17 lines
440 B
YAML

name: deploy config
run-name: 🚀 ${{ gitea.actor }} deploys new nginx config 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: nginx
steps:
- 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