softinio.com/.woodpecker.yml
Salar Rahmanian ca069c0d37
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci update
2024-02-16 21:43:53 -08:00

24 lines
603 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
- ls result
- nix develop --command wrangler pages deploy result --branch=$CI_COMMIT_SOURCE_BRANCH --project-name=softinio
depends_on: [build]
when:
event: push
branch: test1