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:
|
steps:
|
||||||
build:
|
- name: build
|
||||||
image: debian:stable-backports
|
image: thesandwich-build
|
||||||
|
environment:
|
||||||
|
PNPM_HOME: /var/woodpecker/pnpm
|
||||||
|
PARCEL_WORKERS: 0
|
||||||
|
OPENWEATHERMAP_API_KEY:
|
||||||
|
from_secret: openweathermap_api_key
|
||||||
commands:
|
commands:
|
||||||
- apt update
|
- corepack enable
|
||||||
- apt install -y inetutils-ping wget
|
- pnpm install
|
||||||
- ping -c 4 git.nations.lol
|
- pnpm run build --no-cache
|
||||||
- wget git.nations.lol
|
- rm -rf /var/woodpecker/thesandwich/*
|
||||||
- sleep 9999999
|
- 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