mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 20:31:19 +00:00
4e5798852f
Previously, these scripts wouldn't work on exotic systems such as NixOS. ``` fd '\.sh$' -t f --exec sed -i 's@#!/bin/bash@#!/usr/bin/env bash@' ```
14 lines
309 B
Bash
Executable file
14 lines
309 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
export COMPOSE_DOCKER_CLI_BUILD=1
|
|
export DOCKER_BUILDKIT=1
|
|
|
|
# Rebuilding dev docker
|
|
sudo docker build ../ -f . -t "dessalines/lemmy:dev"
|
|
sudo docker push "dessalines/lemmy:dev"
|
|
|
|
# Run the playbook
|
|
# pushd ../../../lemmy-ansible
|
|
# ansible-playbook -i test playbooks/site.yml
|
|
# popd
|