fix: builds and ssh wtf

This commit is contained in:
2024-03-26 21:34:41 +00:00
committed by GitHub
parent 7f24b36e0f
commit 47ea9d6e61
2 changed files with 7 additions and 2 deletions

View File

@@ -40,13 +40,14 @@ echo "Installing npm packages"
echo -ne "- website"
cd website
echo -ne " (resetting yarn lock)"
# this had to be done
rm yarn.lock
touch yarn.lock
yarn > /dev/null 2>&1
cd ..
echo " done"
echo " done both"
# handler
echo -ne "- handler"
cd sernHandlerV2
@@ -61,9 +62,9 @@ cd ..
echo " done"
echo "SSH keys part"
echo -ne "Adding ssh config"
rm ~/.ssh/config
mkdir ~/.ssh
cp ./ssh.conf ~/.ssh/config
echo " done"

4
nixpacks.toml Normal file
View File

@@ -0,0 +1,4 @@
providers = ["..."]
[phases.setup]
nixPkgs = ["..." , "openssh"]