fixup! Update ci workflow to work with forgejo
Some checks failed
CI / build (push) Failing after 56s
Some checks failed
CI / build (push) Failing after 56s
This commit is contained in:
parent
3270491de2
commit
7deafbe6d8
1 changed files with 11 additions and 0 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
@ -33,6 +33,17 @@ jobs:
|
||||||
- name: Run Nix Build
|
- name: Run Nix Build
|
||||||
shell: "nix shell nixpkgs#git-lfs --command {0}"
|
shell: "nix shell nixpkgs#git-lfs --command {0}"
|
||||||
run: nix build .
|
run: nix build .
|
||||||
|
- name: Run Nix Checks
|
||||||
|
shell: "nix shell nixpkgs#git-lfs --command {0}"
|
||||||
|
run: nix flake check
|
||||||
|
- name: Deploy page
|
||||||
|
if: success() && github.ref == 'refs/heads/main'
|
||||||
|
shell: "nix shell nixpkgs#git-lfs --command {0}"
|
||||||
|
run: |
|
||||||
|
mkdir ~/.ssh/
|
||||||
|
printf "%s" "$SSH_DEPLOY_KEY" > ~/.ssh/id_ed25519
|
||||||
|
echo -e "Host lindberg-webapps.backplane.net.qo.is\n StrictHostKeyChecking no\n UserKnownHostsFile=/dev/null" >> ~/.ssh/config
|
||||||
|
nix run .#deploy
|
||||||
# - uses: actions/upload-pages-artifact@v3
|
# - uses: actions/upload-pages-artifact@v3
|
||||||
# with:
|
# with:
|
||||||
# path: result/
|
# path: result/
|
||||||
|
|
Loading…
Reference in a new issue