next/.more-ci/deploy-pre.sh
☙◦ The Tablet ❀ GamerGirlandCo ◦❧ d6f146c481
refactor(ci): restructure
use separate pipelines for building for staging and production, respectively
streamline repetitive steps into scripts stored in `.more-ci/`

BREAKING CHANGE: this might break literally everything lol
2023-12-28 19:58:52 -05:00

7 lines
263 B
Bash

#!/bin/bash
apt-get update && apt-get install --yes --no-install-recommends rsync git openssh-client curl sshpass
eval $(ssh-agent -s)
chmod 600 $1
ssh-add $1
mkdir -p ~/.ssh
[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config