softinio.com/.woodpecker.yml
Salar Rahmanian 771930b344
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci update
2024-02-16 21:30:20 -08:00

27 lines
652 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
- nix build
- nix develop
- wrangler -v
- 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