Remove deploy job
This commit is contained in:
parent
4ee18a6555
commit
21fbfb82e4
1 changed files with 0 additions and 27 deletions
|
@ -1,27 +0,0 @@
|
|||
on:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
deploy:
|
||||
runs_on: docker
|
||||
steps:
|
||||
# - name: "Cache Nix store"
|
||||
# uses: actions/cache@v3.0.8
|
||||
# id: nix-cache
|
||||
# with:
|
||||
# path: /tmp/nixcache
|
||||
# key: "${{ runner.os }}-nix-cache"
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
ref: master
|
||||
- uses: https://github.com/DeterminateSystems/nix-installer-action@main
|
||||
# - name: "Import Nix store cache"
|
||||
# if: "steps.nix-cache.outputs.cache-hit == 'true'"
|
||||
# run: "nix-store --import < /tmp/nixcache"
|
||||
- run: mkdir ~/.ssh; echo "$SSHKEY" > ~/.ssh/id_ed25519
|
||||
name: "Setup ssh key"
|
||||
with:
|
||||
SSHKEY: ${{ secrets.DEPLOYKEY }}
|
||||
- run: 'nix develop --command deploy --remote-build .'
|
||||
# - name: "Export Nix store cache"
|
||||
# if: "steps.nix-cache.outputs.cache-hit != 'true'"
|
||||
# run: "nix-store --export $(find /nix/store -maxdepth 1 -name '*-*') > /tmp/nixcache"
|
Loading…
Reference in a new issue