softinio.com/.woodpecker.yml
Salar Rahmanian 9d78ebdb18
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
ci update
2024-02-16 21:50:34 -08:00

24 lines
640 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
secrets: [ cloudflare_account_id, cloudflare_api_token ]
when:
event: push
branch: test1