We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef9cf00 commit 1e47c1aCopy full SHA for 1e47c1a
.github/workflows/deploy-hil.yaml
@@ -45,6 +45,14 @@ jobs:
45
- name: Deploy
46
run: sudo nixos-rebuild switch --flake .
47
48
+ - name: Write orb-hil version file
49
+ run: |
50
+ version="$(grep -oP '(?<=version = ")[^"]+' nix/packages/orb-hil.nix)"
51
+ sudo install -d -m 755 /etc/worldcoin
52
+ printf '%s\n' "${version}" | sudo tee /etc/worldcoin/orb-hil.version > /dev/null
53
+ sudo chmod 644 /etc/worldcoin/orb-hil.version
54
+ echo "orb-hil version: ${version}"
55
+
56
- name: Install HIL SSH key
57
env:
58
HIL_SSH_PRIVATE_KEY: ${{ secrets.HIL_PRIVATE_SSH_KEY }}
0 commit comments