softinio.com/.woodpecker.yml
Salar Rahmanian a89555c467
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
corrections and added ci
2024-02-16 20:50:22 -08:00

25 lines
612 B
YAML

steps:
- name: build
image: nixos/nix
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix build
- nix flake show
when:
event: [push, pull_request]
- name: deploy
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
- echo "Deploy complete"
depends_on: [build]
when:
event: push
branch: test1