Skip to content

Commit

Permalink
Clean deploy/save-ord-dev-state (#2932)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Jan 1, 2024
1 parent d791800 commit eb7bc9d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
21 changes: 0 additions & 21 deletions deploy/save-ord-dev-state

This file was deleted.

7 changes: 0 additions & 7 deletions deploy/setup
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ printf "[Service]\nEnvironment=CHAIN=%s\nEnvironment=CSP_ORIGIN=%s\n" $CHAIN $CS
| tee /etc/systemd/system/bitcoind.service.d/override.conf \
> /etc/systemd/system/ord.service.d/override.conf

printf 'BRANCH=%s\n' $BRANCH >> /etc/environment \
&& printf 'COMMIT=%s\n' $COMMIT >> /etc/environment \
&& printf 'REVISION=%s\n' $REVISION >> /etc/environment

hostnamectl set-hostname $DOMAIN

apt-get install --yes \
Expand Down Expand Up @@ -102,9 +98,6 @@ source ~/.cargo/env
rustup update stable

cargo build --release
if [[ -f /usr/local/bin/ord ]]; then
mv /usr/local/bin/ord /usr/local/bin/$REVISION.bak
fi
cp target/release/ord /usr/local/bin/ord

id --user bitcoin || useradd --system bitcoin
Expand Down

0 comments on commit eb7bc9d

Please sign in to comment.