softinio.com/.woodpecker.yml
Salar Rahmanian 7f6ae2e793
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci correction
2024-02-16 20:54:59 -08:00

24 lines
594 B
YAML

steps:
- name: build
image: nixos/nix
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- nix build
- nix flake show
- nix flake info
when:
event: [push, pull_request]
- name: deploy
image: nixos/nix
commands:
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
- ls result
- wrangler pages deploy result --branch=$CI_COMMIT_SOURCE_BRANCH --project-name=softinio
- echo "Deploy complete"
depends_on: [build]
when:
event: push
branch: test1