This commit is contained in:
parent
a89555c467
commit
7f6ae2e793
1 changed files with 3 additions and 4 deletions
|
@ -5,6 +5,7 @@ steps:
|
||||||
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
|
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
|
||||||
- nix build
|
- nix build
|
||||||
- nix flake show
|
- nix flake show
|
||||||
|
- nix flake info
|
||||||
when:
|
when:
|
||||||
event: [push, pull_request]
|
event: [push, pull_request]
|
||||||
|
|
||||||
|
@ -12,10 +13,8 @@ steps:
|
||||||
image: nixos/nix
|
image: nixos/nix
|
||||||
commands:
|
commands:
|
||||||
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
|
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
|
||||||
- nix build
|
- ls result
|
||||||
- nix flake show
|
- wrangler pages deploy result --branch=$CI_COMMIT_SOURCE_BRANCH --project-name=softinio
|
||||||
- ls public
|
|
||||||
- wrangler pages deploy public --branch=$CI_COMMIT_SOURCE_BRANCH --project-name=softinio
|
|
||||||
- echo "Deploy complete"
|
- echo "Deploy complete"
|
||||||
depends_on: [build]
|
depends_on: [build]
|
||||||
when:
|
when:
|
||||||
|
|
Loading…
Reference in a new issue