From d734df42dd912c8e3dc30c1b42f690f2a72152ad Mon Sep 17 00:00:00 2001 From: Arne Vlaeminck Date: Thu, 25 Jan 2024 21:27:05 +0100 Subject: [PATCH] added v2 branch --- .gitea / workflows/copy.yaml | 22 ---------------------- .gitea / workflows/deploy.yaml | 8 ++++---- sinia2/Sinia | 1 - 3 files changed, 4 insertions(+), 27 deletions(-) delete mode 100644 .gitea / workflows/copy.yaml delete mode 160000 sinia2/Sinia diff --git a/.gitea / workflows/copy.yaml b/.gitea / workflows/copy.yaml deleted file mode 100644 index 9c96ff2..0000000 --- a/.gitea / workflows/copy.yaml +++ /dev/null @@ -1,22 +0,0 @@ -name: Copy Website to Samba Share -on: - push: - branches: - - main - -jobs: - copy_files: - name: Copy Files - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - - name: Install smbclient - run: | - apt-get update - apt-get install -y smbclient - - - name: Copy - run: | - smbclient //192.168.129.250/arne -U "${{ secrets.SAMBA_USER }}" "${{ secrets.SAMBA_PASSWORD }}" -c "cd \"letsencrypt/config/www\"; lcd \"\"; prompt; recurse; mput *" \ No newline at end of file diff --git a/.gitea / workflows/deploy.yaml b/.gitea / workflows/deploy.yaml index 2ae2e75..b751510 100644 --- a/.gitea / workflows/deploy.yaml +++ b/.gitea / workflows/deploy.yaml @@ -1,8 +1,8 @@ -name: Copy Files to Samba Share +name: Copy Website to Samba Share on: push: branches: - - main + - v2 jobs: copy_files: @@ -16,7 +16,7 @@ jobs: run: | apt-get update apt-get install -y smbclient - + - name: Copy run: | - smbclient //192.168.129.250/arne -U "${{ secrets.SAMBA_USER }}" "${{ secrets.SAMBA_PASSWORD }}" -c "cd \"letsencrypt/config/www\"; prompt; recurse; mput *" \ No newline at end of file + smbclient //192.168.129.250/arne -U "${{ secrets.SAMBA_USER }}" "${{ secrets.SAMBA_PASSWORD }}" -c "cd \"letsencrypt/config/www/homev2\"; lcd \"\"; prompt; recurse; mput *" \ No newline at end of file diff --git a/sinia2/Sinia b/sinia2/Sinia deleted file mode 160000 index b566634..0000000 --- a/sinia2/Sinia +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b566634be9d26434cd6b12675efb2ed0fd1362b4