diff --git a/README.md b/README.md index 45d9811..a8e6343 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,3 @@ -# sinia +# Sinia Website for accountant Sinia \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..33878e7 --- /dev/null +++ b/index.html @@ -0,0 +1,64 @@ + + + + + + + + + CptArn + + + + + + + + + + + \ No newline at end of file diff --git a/workflows/copy.yaml b/workflows/copy.yaml new file mode 100644 index 0000000..56b11c4 --- /dev/null +++ b/workflows/copy.yaml @@ -0,0 +1,29 @@ +name: Copy Files 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: Mount Samba share + uses: iamjameshunt/smb-mount-action@v1 + with: + server: 192.168.129.250 + username: ${{ secrets.SAMBA_USER }} + password: ${{ secrets.SAMBA_PASSWORD }} + share: arne + mountpoint: /mnt/samba # Mount point on the runner machine + + - name: Copy files to Samba + run: | + cp -r ./* /mnt/samba/letsencrypt/config/www/sinia # Customize this line based on the source and destination paths + + - name: Unmount Samba share + run: umount /mnt/samba \ No newline at end of file