receptor/.build.yml

63 lines
3.0 KiB
YAML
Raw Normal View History

2017-09-12 16:05:05 +02:00
image: archlinux
packages:
- nodejs
- npm
- rsync
sources:
- https://git.sr.ht/~sircmpwn/receptor
environment:
deploy: synapse@synapse-bt.org
tasks:
- keys: |
-----BEGIN PGP MESSAGE-----
hQEMAwDxEZj45VMLAQgAlcThzaVWtwdZ1jv41iHi26GjGF1U6oa08uphLiHhl+5b
cO5sjmtrTBzKMhDVL0UsbDhr5dH5XiwAW7eiWpaXiRJTORisxU4obb/k0IOj6YqZ
cPBp4mgsOgQLfVir467wu3Ygs9wNKb4MpQ8TOTHpSJ91rjeJc51NU19lG2sRlGcK
LXPq+E6YMkPH0EGMvWcDJjd69px+h1xR17o0exNzCvEWOeIiYtObJb5yHbAafHUi
cBNbQ7x3tf6zr7Ol2t+KKNCGT3xnjnnUd1p9qRHjKxhDRORJzJC4Jm022JcAWtU4
F/DRx0DsPdIdy5DqB/aLu41euYfBN33E5IK14ZsvAtLqAW/WfP6BzgDS+O8JFXVb
vwBKN5Fevl8ab8s975IaxdHsJT6ST5XMKBma+WT+VDoDF6koqAC+VumOXp8l7lp/
DD1F8nI6ZMctI0pLdQhdn3irvuLq2KQJlKwQj5tIW8PDDAXiaCwUTUxwtZn6FbiD
zTkoGAG4wzrViOTLCM54ArmShfzVPMthgfOUjSXLgBHuRrw+L8P/HniwfYX+GRfx
D9SVBs4Wtf6RabZAujBWXBfRmwnUbR7XtlYSsvmwlgIfDJosMfN8DBseUDnID36D
13hZpzy5XowJlZELytQSut3bnw2l1Xd7w9uxYiwRvbWXAUfi+797VSygVkW8EQ2h
mLn/t8G4LFTc+JMORfiycaMWtLdxV/91IDuBMAfOG/yl+W2LhLuS6ZbrM+rDk62M
osVa+Ivmp9aB/64viJBBdLkYkr9AL41CBJ2uqUDtFpezlFOLm1GhqV6K/03wDkz9
tfIzKg9E3jwdhSceWbJ/8TZs77wm1pfxn7BmHn3049iJs8yNuEKpLz7C7JETWOf6
N1gJohvE1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AASfivsRVMiJ83UyVHk
Mvl9rymMZ4VGz1rNm13evwOh7PrqHGx940791K3xNADj7PFrHwR8FzoaXLn9Z7vL
kek6PQWnaSpfv45+hZ6TTriTR5siLZZPD+nYte5K4dsmyQUVUQGjF0F5X1VcX2IG
ydsWOEt5O4FZWf0CbkfDSxlaIe5HV9td78NbSaTTPBTcEdb1dG/uM9TYxx4EaQEc
PtGQi7jz7vFXqgXaPtza7S8N3uEJreihiXdZ5TPjksvmGoUiDmnTSByeXbm9Mx1S
cPsPt8/IT8LF5joKW3Q=
=iFUO
-----END PGP MESSAGE-----
- setup: |
cd receptor
npm install
- build: |
cd receptor
npm run build:production
- deploy: |
cd receptor
sshopts="-o StrictHostKeyChecking=no"
rsync --rsh="ssh $sshopts" -rP index.html ${deploy}:/var/html/web.synapse-bt.org/
rsync --rsh="ssh $sshopts" -rP dist ${deploy}:/var/html/web.synapse-bt.org/