~muirrum/crane-discord

84e2b35fc349db490c8756944de841a658146e3f — Cara 3 years ago b44ca05
add glitch manifest
1 files changed, 18 insertions(+), 0 deletions(-)

A manifests/glitch.yml
A manifests/glitch.yml => manifests/glitch.yml +18 -0
@@ 0,0 1,18 @@

sources:
  - "https://git.sr.ht/~muirrum/glitch#master"
image: debian/buster
packages:
- curl
- libssl-dev
- pkg-config
tasks:
  - install-rustup: "curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable --profile default -y\nsource ~/.cargo/env\n"
  - setup: "source ~/.cargo/env\nrustup toolchain install stable\ncd glitch\nrustup run stable cargo fetch\n"
  - build: "source ~/.cargo/env\nrustup default stable\ncd glitch\ncargo build --release\n"
  - deploy: "cd glitch\nscp target/release/glitch osalter@kronos.devosmium.xyz:/usr/bot/glitch/glitch-update\n"
secrets:
  - 0467a7c3-16d9-491c-9874-807bce4f2616
  - a88c3ffc-9bb0-451e-bf59-ef6198da6754
  - 29c34230-a4c8-4d96-8996-6b845c9087aa