This commit is contained in:
parent
d63da2b051
commit
9f25909da0
1 changed files with 10 additions and 19 deletions
|
|
@ -1,20 +1,11 @@
|
||||||
steps:
|
skip_clone: true
|
||||||
- name: build
|
|
||||||
image: thesandwich-build
|
|
||||||
environment:
|
|
||||||
PNPM_HOME: /var/woodpecker/pnpm
|
|
||||||
PARCEL_WORKERS: 0
|
|
||||||
OPENWEATHERMAP_API_KEY:
|
|
||||||
from_secret: openweathermap_api_key
|
|
||||||
commands:
|
|
||||||
- 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/
|
|
||||||
|
|
||||||
|
steps:
|
||||||
|
build:
|
||||||
|
image: debian:stable-backports
|
||||||
|
commands:
|
||||||
|
- apt update
|
||||||
|
- apt install -y inetutils-ping wget
|
||||||
|
- ping -c 4 git.nations.lol
|
||||||
|
- wget git.nations.lol
|
||||||
|
- sleep 9999999
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue