forked from cadey/xesite
fix
This commit is contained in:
parent
e0a1744989
commit
f8ae558738
|
@ -27,11 +27,8 @@ jobs:
|
|||
docker push ghcr.io/xe/site
|
||||
- name: deploy
|
||||
if: github.ref == 'refs/heads/main'
|
||||
run: |
|
||||
nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
|
||||
./scripts/release.sh
|
||||
run: ./scripts/release.sh
|
||||
env:
|
||||
NIX_PATH: /nix/var/nix/profiles/per-user/runner/channels
|
||||
DIGITALOCEAN_ACCESS_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}
|
||||
MI_TOKEN: ${{ secrets.MI_TOKEN }}
|
||||
PATREON_ACCESS_TOKEN: ${{ secrets.PATREON_ACCESS_TOKEN }}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!/usr/bin/env nix-shell
|
||||
#! nix-shell -p doctl -p kubectl -p curl -i bash
|
||||
#! nix-shell -I nixpkgs=https://nixos.org/channels/nixpkgs-unstable
|
||||
|
||||
nix-env -if ./nix/dhall-yaml.nix
|
||||
doctl kubernetes cluster kubeconfig save kubermemes
|
||||
dhall-to-yaml-ng < ./site.dhall | kubectl apply -n apps -f -
|
||||
|
|
Loading…
Reference in New Issue