Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit 69679ce

Browse files
committed
Migrate to Woodpecker 2
1 parent e9fd848 commit 69679ce

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

.woodpecker.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
1-
pipeline:
2-
prepare-env:
1+
when:
2+
- branch: main
3+
event: [push, manual]
4+
5+
steps:
6+
- name: prepare-env
37
image: nullaufeins/build-agent
48
commands:
59
- export SITE="connect.hackerinnen.space"
610
- echo "export SITE=$SITE" > pipeline.env
711
- cat pipeline.env
812

9-
build:
13+
- name: build
1014
image: nullaufeins/build-agent
1115
commands:
1216
- source ./pipeline.env
@@ -15,13 +19,10 @@ pipeline:
1519
- nix run .#build -- "$DEST_DIR"
1620
- nix-store --add "$DEST_DIR" --store "ssh-ng://$BUILD_HOST" > store_path
1721
secrets:
18-
- source: airtable_access_token
19-
target: secret_airtable_access_token
22+
- SECRET_AIRTABLE_ACCESS_TOKEN
2023

21-
deploy:
24+
- name: deploy
2225
image: nullaufeins/build-agent
2326
commands:
2427
- source ./pipeline.env
2528
- cat store_path | xargs deploy-website "$SITE"
26-
27-
branches: [ main ]

0 commit comments

Comments
 (0)