This commit is contained in:
parent
9f25909da0
commit
d7b3371ac4
1 changed files with 17 additions and 9 deletions
|
|
@ -1,11 +1,19 @@
|
|||
skip_clone: true
|
||||
|
||||
steps:
|
||||
build:
|
||||
image: debian:stable-backports
|
||||
- name: build
|
||||
image: thesandwich-build
|
||||
environment:
|
||||
PNPM_HOME: /var/woodpecker/pnpm
|
||||
PARCEL_WORKERS: 0
|
||||
OPENWEATHERMAP_API_KEY:
|
||||
from_secret: openweathermap_api_key
|
||||
commands:
|
||||
- apt update
|
||||
- apt install -y inetutils-ping wget
|
||||
- ping -c 4 git.nations.lol
|
||||
- wget git.nations.lol
|
||||
- sleep 9999999
|
||||
- corepack enable
|
||||
- pnpm install
|
||||
- pnpm run build --no-cache
|
||||
- rm -rf /var/woodpecker/thesandwich/*
|
||||
- mkdir -p /var/woodpecker/thesandwich/
|
||||
- mv dist/* /var/woodpecker/thesandwich/
|
||||
volumes:
|
||||
- /var/woodpecker:/var/woodpecker
|
||||
- /usr/share/fonts:/usr/share/fonts
|
||||
- /usr/lib/helix/runtime/:/usr/lib/helix/runtime/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue