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