Use nixos-host runner label — runs directly on n97
Some checks failed
Build and Deploy to Storj / build-and-deploy (push) Has been cancelled

This commit is contained in:
Scott Scoble 2026-04-28 22:45:21 -07:00
parent 001cbe4856
commit a2761d67f5

View file

@ -7,24 +7,15 @@ on:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
runs-on: nixos-host
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v25
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
experimental-features = nix-command flakes
- name: Build with Nix
- name: Build
run: |
nix-shell -p nodejs_20 git rclone --run "
npm ci
npm run build
"
npm ci
npm run build
- name: Configure rclone
run: |
@ -40,7 +31,5 @@ jobs:
- name: Deploy to Storj
run: |
nix-shell -p rclone --run "
rclone sync ./dist/ storj:${{ secrets.STORJ_BUCKET }}/ --progress
rclone sync ./public/downloads/ storj:${{ secrets.STORJ_BUCKET }}/downloads/ --progress
"
rclone sync ./dist/ storj:${{ secrets.STORJ_BUCKET }}/ --progress
rclone sync ./public/downloads/ storj:${{ secrets.STORJ_BUCKET }}/downloads/ --progress