This commit is contained in:
parent
2f083a24b0
commit
d963d0a8fb
1 changed files with 0 additions and 9 deletions
|
|
@ -3,16 +3,10 @@ on:
|
|||
branches:
|
||||
- main
|
||||
|
||||
env:
|
||||
NIX_CONFIG: experimental-features = nix-command flakes
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: nixos
|
||||
steps:
|
||||
- name: Install node & pnpm
|
||||
run: nix profile add nixpkgs#nodejs_24 nixpkgs#pnpm nixpkgs#gnused
|
||||
|
||||
- name: Check out repo
|
||||
uses: https://data.forgejo.org/actions/checkout@v7
|
||||
|
||||
|
|
@ -22,8 +16,5 @@ jobs:
|
|||
- name: Build
|
||||
run: pnpm run build
|
||||
|
||||
- name: Install rsync
|
||||
run: nix profile add nixpkgs#rsync
|
||||
|
||||
- name: Deploy
|
||||
run: rsync -a --delete dist/ /var/lib/www/tensamin-docs/
|
||||
|
|
|
|||
Loading…
Reference in a new issue