~bwbuhse/planesover.me

1be247cf9ccc5be49f3e1e1f2f2ffdd1d474a2dd — Ben Buhse 8 months ago 108ab27
Temporarily comment out .build.yml
1 files changed, 34 insertions(+), 34 deletions(-)

M .build.yml
M .build.yml => .build.yml +34 -34
@@ 1,34 1,34 @@
image: debian/stable
packages:
  - rsync
environment:
  deploy: planesoverme@planesover.me
secrets:
  - 16004063-ca96-4dd8-b88e-30b1ed5c06a6
tasks: 
  - setup-rust: |
      curl https://sh.rustup.rs -sSf -o install-rustup
      chmod u+x install-rustup
      ./install-rustup -y
      source "$HOME/.cargo/env"
      rustup target add wasm32-unknown-unknown
      cd planesover.me
      cargo install trunk
  - setup-tailwind: |
      curl -fsSL https://deb.nodesource.com/setup_18.x | sudo bash - &&\
      sudo apt-get install -y nodejs
      sudo corepack enable
      cd planesover.me
      yarn install
  - build: |
      source "$HOME/.cargo/env"
      cd planesover.me
      trunk build --release
  - deploy: |
      cd planesover.me
      sshopts="ssh -o StrictHostKeyChecking=no"
      rsync --rsh="$sshopts" -ruP dist/ $deploy:/home/planesoverme/live/
triggers:
  - action: email
    condition: always
    to: planesover.me dev <dev@planesover.me>
# image: debian/stable
# packages:
#   - rsync
# environment:
#   deploy: planesoverme@planesover.me
# secrets:
#   - 16004063-ca96-4dd8-b88e-30b1ed5c06a6
# tasks: 
#   - setup-rust: |
#       curl https://sh.rustup.rs -sSf -o install-rustup
#       chmod u+x install-rustup
#       ./install-rustup -y
#       source "$HOME/.cargo/env"
#       rustup target add wasm32-unknown-unknown
#       cd planesover.me
#       cargo install trunk
#   - setup-tailwind: |
#       curl -fsSL https://deb.nodesource.com/setup_18.x | sudo bash - &&\
#       sudo apt-get install -y nodejs
#       sudo corepack enable
#       cd planesover.me
#       yarn install
#   - build: |
#       source "$HOME/.cargo/env"
#       cd planesover.me
#       trunk build --release
#   - deploy: |
#       cd planesover.me
#       sshopts="ssh -o StrictHostKeyChecking=no"
#       rsync --rsh="$sshopts" -ruP dist/ $deploy:/home/planesoverme/live/
# triggers:
#   - action: email
#     condition: always
#     to: Ben <dev@planesover.me>