~patrickhaussmann/bpm.app.5ls.de

0ab1b1a8f4e71264770e405b4544a2604a55bac4 — patrickhaussmann 6 months ago d1efdb0
use srht pages
1 files changed, 10 insertions(+), 11 deletions(-)

M .build.yml
M .build.yml => .build.yml +10 -11
@@ 1,14 1,13 @@
image: alpine/latest
image: alpine/edge
oauth: pages.sr.ht/PAGES:RW
packages:
  - npm
secrets:
  - 3ccf561f-8f40-49dd-9d3f-e2a9e69b5219
- hut
environment:
  site: bpm.app.5ls.de
  site: patrickhaussmann.srht.site
  site2: bpm.app.5ls.de
tasks:
  - install: |
      sudo npm install --loglevel=error --global surge

  - publish: |
      . ~/.surgesecrets
      surge $site/ $(echo https://$site | sed -e "s/\./-/g" -e "1 s/$/\.surge\.sh/")
- package: |
    cd $site
    tar -cvz . > ../site.tar.gz
- upload: |
    hut pages publish -d $site site.tar.gz
\ No newline at end of file