ci: bootstrap nix on hosted runners before deploy
This commit is contained in:
parent
5d55bc1d52
commit
e4fc36035b
1 changed files with 5 additions and 2 deletions
|
|
@ -20,6 +20,9 @@ jobs:
|
||||||
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
pwd
|
if ! command -v nix >/dev/null 2>&1; then
|
||||||
ls -la
|
curl -L https://nixos.org/nix/install | sh -s -- --no-daemon
|
||||||
|
. "$HOME/.nix-profile/etc/profile.d/nix.sh"
|
||||||
|
fi
|
||||||
|
nix --version
|
||||||
./scripts/deploy-workers.sh
|
./scripts/deploy-workers.sh
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue