Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eskopp/nextcloud-upload-file
Nextcloud File Uploader as GitHub Action
https://github.com/eskopp/nextcloud-upload-file
action github githubaction go nextcloud version
Last synced: about 1 month ago
JSON representation
Nextcloud File Uploader as GitHub Action
- Host: GitHub
- URL: https://github.com/eskopp/nextcloud-upload-file
- Owner: eskopp
- License: mit
- Created: 2024-10-05T21:37:07.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-11-10T13:24:29.000Z (about 1 month ago)
- Last Synced: 2024-11-10T14:25:43.122Z (about 1 month ago)
- Topics: action, github, githubaction, go, nextcloud, version
- Language: Go
- Homepage:
- Size: 38.1 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 (Go 1.23)
This action uploads a file to a Nextcloud server.
## Usage
```yaml
- name: Nextcloud Upload
uses: eskopp/[email protected]
with:
file-path: "./path/to/file.txt"
nextcloud-url: "https://nextcloud.example.com/remote.php/webdav/"
username: ${{ secrets.NEXTCLOUD_USERNAME }}
password: ${{ secrets.NEXTCLOUD_PASSWORD }}
override: "false" # optional (If the file exists and override is not set or is false, the server returns error code 204.)
rename: "false" # optional (Replace false with the name to which the file is to be renamed. If rename is empty or not there, the file will not be renamed.)
zip: "false" # optional (Creates a zip archive with the name of the file)
date: "true" # optional (creates a date stamp in the format YYYY_MM_DD)
time: "true" # optional (Creates a date stamp in the format HH_MM_SS)
```