Convert backend from submodule to regular directory
Some checks failed
Deploy to NAS / deploy (push) Failing after 4s
Some checks failed
Deploy to NAS / deploy (push) Failing after 4s
Remove submodule tracking; backend is now a plain directory in the repo. Also update deploy workflow: remove --recurse-submodules. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -9,18 +9,19 @@ jobs:
|
||||
runs-on: self-hosted
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
submodules: recursive
|
||||
- name: Pull code
|
||||
run: |
|
||||
if [ -d "${{ secrets.DEPLOY_DIR }}/.git" ]; then
|
||||
git -C ${{ secrets.DEPLOY_DIR }} pull --recurse-submodules
|
||||
else
|
||||
git clone --recurse-submodules http://192.168.1.4:3000/christoph/pamietnik.git ${{ secrets.DEPLOY_DIR }}
|
||||
fi
|
||||
|
||||
- name: Write .env
|
||||
run: printf 'DB_PASSWORD=%s\n' '${{ secrets.DB_PASSWORD }}' > ${{ secrets.DEPLOY_DIR }}/.env
|
||||
|
||||
- name: Build & Deploy
|
||||
run: |
|
||||
cp -r ${{ github.workspace }}/. ${{ secrets.DEPLOY_DIR }}/
|
||||
docker compose -f ${{ secrets.DEPLOY_DIR }}/docker-compose.yml up --build -d
|
||||
run: docker compose -f ${{ secrets.DEPLOY_DIR }}/docker-compose.yml up --build -d
|
||||
|
||||
- name: Health check
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user