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
|
||||
- nix build
|
||||
- nix flake show
|
||||
- nix flake info
|
||||
when:
|
||||
event: [push, pull_request]
|
||||
|
||||
|
@ -12,10 +13,8 @@ steps:
|
|||
image: nixos/nix
|
||||
commands:
|
||||
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
|
||||
- nix build
|
||||
- nix flake show
|
||||
- ls public
|
||||
- wrangler pages deploy public --branch=$CI_COMMIT_SOURCE_BRANCH --project-name=softinio
|
||||
- ls result
|
||||
- wrangler pages deploy result --branch=$CI_COMMIT_SOURCE_BRANCH --project-name=softinio
|
||||
- echo "Deploy complete"
|
||||
depends_on: [build]
|
||||
when:
|
||||
|
|
Loading…
Reference in a new issue