Skip to content

Privacy-first password manager with built-in email aliasing. Fully encrypted and self-hostable.

Update github actions to use new install.sh (#374)

Leendert de Borst00db83f47864
diff --git a/.github/workflows/docker-compose-build.yml b/.github/workflows/docker-compose-build.yml
index dd4105188..73c879a4e 100644
--- a/.github/workflows/docker-compose-build.yml
+++ b/.github/workflows/docker-compose-build.yml
@@ -18,10 +18,10 @@ jobs:
steps:
- uses: actions/checkout@v2
- - name: Set permissions and run build.sh
+ - name: Set permissions and run install.sh
run: |
- chmod +x build.sh
- ./build.sh --verbose
+ chmod +x install.sh
+ ./install.sh build --verbose
- name: Set up Docker Compose
run: |
@@ -88,9 +88,9 @@ jobs:
echo "SmtpService responded on port 2525"
fi
- - name: Test build.sh --reset-password output
+ - name: Test install.sh reset-password output
run: |
- output=$(./build.sh --reset-password)
+ output=$(./install.sh reset-password)
if ! echo "$output" | grep -E '.*New admin password: [A-Za-z0-9]{8,}.*'; then
echo "Password reset output format is incorrect. Expected format: 'New admin password: <at least 8 chars>'"
echo "Actual output: $output"
diff --git a/.github/workflows/docker-compose-pull.yml b/.github/workflows/docker-compose-pull.yml
index 06875005c..45b309f62 100644
--- a/.github/workflows/docker-compose-pull.yml
+++ b/.github/workflows/docker-compose-pull.yml
@@ -21,7 +21,7 @@ jobs:
- name: Set permissions and run install.sh
run: |
chmod +x install.sh
- ./install.sh --verbose
+ ./install.sh install --verbose
- name: Set up Docker Compose
run: |
@@ -88,9 +88,9 @@ jobs:
echo "SmtpService responded on port 2525"
fi
- - name: Test install.sh --reset-password output
+ - name: Test install.sh reset-password output
run: |
- output=$(./install.sh --reset-password)
+ output=$(./install.sh reset-password)
if ! echo "$output" | grep -E '.*New admin password: [A-Za-z0-9]{8,}.*'; then
echo "Password reset output format is incorrect. Expected format: 'New admin password: <at least 8 base64 chars>'"
echo "Actual output: $output"
diff --git a/README.md b/README.md
index 88a3b2330..34db32985 100644
--- a/README.md
+++ b/README.md
@@ -56,7 +56,7 @@ curl -o install.sh https://raw.githubusercontent.com/lanedirt/AliasVault/main/in
# Make install script executable and run it
chmod +x install.sh
-./install.sh
+./install.sh install
```
### 2. Build from Source
@@ -66,8 +66,8 @@ git clone https://github.com/lanedirt/AliasVault.git
cd AliasVault
# Make build script executable and run it
-chmod +x build.sh
-./build.sh
+chmod +x install.sh
+./install.sh build
```
Note: if you do not wish to run the script, you can set up the environment variables and build the Docker image and containers manually instead. See the [manual setup instructions](docs/install/1-manually-setup-docker.md) for more information.
diff --git a/install.sh b/install.sh
index 6049a891d..ec5848e17 100755
--- a/install.sh
+++ b/install.sh
@@ -95,7 +95,6 @@ parse_args() {
# Main function
main() {
parse_args "$@"
- print_logo
# Check if command is empty (should not happen with updated parse_args)
if [ -z "$COMMAND" ]; then
@@ -103,6 +102,7 @@ main() {
exit 1
fi
+ print_logo
case $COMMAND in
"install")
handle_install