diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 943d09b..30f34f9 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -20,7 +20,9 @@ jobs: key: ${{ secrets.SERVER_SSH_KEY }} script: | cd /opt/docs/obsidian + echo "${{ secrets.SERVER_SUDO_PASSWORD }}" | sudo -S git reset --hard origin/master echo "${{ secrets.SERVER_SUDO_PASSWORD }}" | sudo -S git pull origin master + echo "${{ secrets.SERVER_SUDO_PASSWORD }}" | sudo -S git submodule update --init --recursive --remote cd .. echo "${{ secrets.SERVER_SUDO_PASSWORD }}" | sudo -S docker compose down echo "${{ secrets.SERVER_SUDO_PASSWORD }}" | sudo -S docker compose up -d --build diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..12c2ad0 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "LeterZP"] + path = LeterZP + url = https://gitea.aklivtsov.tech/LeterZP/Info.git diff --git a/LeterZP b/LeterZP new file mode 160000 index 0000000..a267b41 --- /dev/null +++ b/LeterZP @@ -0,0 +1 @@ +Subproject commit a267b4171ea975049be61ec0342a760199aefa6d diff --git a/index.md b/index.md index 82e2f83..37c29d4 100644 --- a/index.md +++ b/index.md @@ -6,3 +6,5 @@ [[Computer Science]] - лекции и материалы по АК+ОПД+PL и в целом база по CS [[Экзамен]] - разбор экзамена по ОПД за 2 семестр Spring Boot - будет... + +[[README]] - заметки [LeterZP](https://gitea.aklivtsov.tech/LeterZP) (aka Boris Bosenkob) \ No newline at end of file