mirror of
https://github.com/softinio/softinio.com.git
synced 2025-09-05 11:16:41 -07:00
update woodpecker config
This commit is contained in:
parent
5ed9282f10
commit
8768a8e395
1 changed files with 11 additions and 4 deletions
|
@ -9,7 +9,11 @@ steps:
|
||||||
- nix flake show
|
- nix flake show
|
||||||
- ls result
|
- ls result
|
||||||
- nix develop --command wrangler pages deploy result --branch=$CI_COMMIT_BRANCH --project-name=softinio --commit-dirty=true
|
- nix develop --command wrangler pages deploy result --branch=$CI_COMMIT_BRANCH --project-name=softinio --commit-dirty=true
|
||||||
secrets: [ cloudflare_account_id, cloudflare_api_token ]
|
environment:
|
||||||
|
CLOUDFLARE_ACCOUNT_ID:
|
||||||
|
from_secret: cloudflare_account_id
|
||||||
|
CLOUDFLARE_API_TOKEN:
|
||||||
|
from_secret: cloudflare_api_token
|
||||||
when:
|
when:
|
||||||
event: [push]
|
event: [push]
|
||||||
branch:
|
branch:
|
||||||
|
@ -21,8 +25,11 @@ steps:
|
||||||
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
|
- echo 'experimental-features = flakes nix-command' >> /etc/nix/nix.conf
|
||||||
- nix build
|
- nix build
|
||||||
- nix develop --command wrangler pages deploy result --project-name=softinio --commit-dirty=true
|
- nix develop --command wrangler pages deploy result --project-name=softinio --commit-dirty=true
|
||||||
secrets: [ cloudflare_account_id, cloudflare_api_token ]
|
environment:
|
||||||
|
CLOUDFLARE_ACCOUNT_ID:
|
||||||
|
from_secret: cloudflare_account_id
|
||||||
|
CLOUDFLARE_API_TOKEN:
|
||||||
|
from_secret: cloudflare_api_token
|
||||||
when:
|
when:
|
||||||
event: push
|
event: push
|
||||||
branch: main
|
branch: main
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue