Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eskopp/nextcloud-backup
Nextcloud-Uploader is a Shell and Bash-based script designed to upload files to a Nextcloud instance. Built for simplicity and efficiency on Alpine, it includes features for overwriting, renaming, compressing, and adding date/time stamps to files, making it ideal for automation and lightweight workflows.
https://github.com/eskopp/nextcloud-backup
alpine backup bash docker git github nextcloud shell zip
Last synced: 8 days ago
JSON representation
Nextcloud-Uploader is a Shell and Bash-based script designed to upload files to a Nextcloud instance. Built for simplicity and efficiency on Alpine, it includes features for overwriting, renaming, compressing, and adding date/time stamps to files, making it ideal for automation and lightweight workflows.
- Host: GitHub
- URL: https://github.com/eskopp/nextcloud-backup
- Owner: eskopp
- License: mit
- Created: 2024-12-30T18:09:23.000Z (8 days ago)
- Default Branch: main
- Last Pushed: 2024-12-30T18:31:18.000Z (8 days ago)
- Last Synced: 2024-12-30T19:27:02.842Z (8 days ago)
- Topics: alpine, backup, bash, docker, git, github, nextcloud, shell, zip
- Language: Shell
- Homepage: https://erik-skopp.de/docs
- Size: 143 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Nextcloud Uploader Action
This GitHub Action uploads files or zip archives to a Nextcloud server using WebDAV.
## Features
- Uploads files or directories to Nextcloud.
- Optionally zips the files before uploading.
- Supports Base64-encoded inputs for enhanced security.## Inputs
| Name | Description | Required | Default |
| --------------- | ----------------------------------- | -------- | ------- |
| `nextcloud_url` | The Nextcloud WebDAV URL. | true | - |
| `password` | Nextcloud password. | true | - |
| `base64` | If true, inputs are Base64-encoded. | false | `false` |## Outputs
| Name | Description |
| --------------- | ---------------------------- |
| `upload-status` | Status of the upload process |## Example Workflow
```yaml
name: Upload to Nextcloudon:
push:
branches:
- mainjobs:
upload:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3- name: Upload to Nextcloud
uses: eskopp/github-nextcloud-backup@main
with:
nextcloud-url: "aHR0cHM6Ly9leGFtcGxlLmNvbS9yZW1vdGUucGhwL2Rhdi9maWxlcy91c2Vy"
password: "YmFzZTY0X3Bhc3N3b3Jk"
base64: "true"
```
## Example
This image provides a visual representation of the Nextcloud Uploader Action in use. It demonstrates how files are uploaded to a Nextcloud server using the specified GitHub Action.![Nextcloud Uploader Action](image.png)