Merge pull request #3 from eskopp/dependabot/github_actions/eskopp/gi… #41
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upload Backup to Nextcloud | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
workflow_dispatch: | |
jobs: | |
upload: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Upload to Nextcloud | |
id: upload | |
uses: eskopp/nextcloud-backup@main | |
with: | |
nextcloud_url: "aHR0cHM6Ly9jbG91ZC5lcmlrLXNrb3BwLmRlL3JlbW90ZS5waHAvZGF2L2ZpbGVzL0VyaWsvU291cmNlQ29kZS9HaXRIdWIvQWR2ZW50b2ZDaGVzcw==" | |
username: "RXJpaw==" | |
password: ${{ secrets.NEXTCLOUD_PASSWORD }} | |
base64: "true" | |
- name: Display ZIP Name | |
run: | | |
echo "Generated ZIP Name: ${{ steps.upload.outputs.zip-name }}" |