Skip to content

Commit

Permalink
feat: add push to onedrive
Browse files Browse the repository at this point in the history
  • Loading branch information
GrassBlock1 authored Jun 28, 2024
1 parent 0a7568f commit 31b089b
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,27 +73,27 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

#TODO
#uploadToOneDrive:
# runs-on: ubuntu-latest
# if: always()
# needs: [buildAUR]
uploadToOneDrive:
runs-on: ubuntu-latest
if: always()
needs: [buildAUR , buildNonAUR]

# steps:
# - uses: actions/checkout@v3
#
# - uses: actions/download-artifact@v3
# id: download
steps:
- uses: actions/checkout@v3

- uses: actions/download-artifact@v3
id: download

# - uses: ./create-db-and-upload-action
# with:
# RCLONE_ONEDRIVE_CLIENT_ID: ${{ secrets.RCLONE_ONEDRIVE_CLIENT_ID }}
# RCLONE_ONEDRIVE_CLIENT_SECRET: ${{ secrets.RCLONE_ONEDRIVE_CLIENT_SECRET }}
# RCLONE_ONEDRIVE_REGION: global
# RCLONE_ONEDRIVE_TOKEN: ${{ secrets.RCLONE_ONEDRIVE_TOKEN }}
# RCLONE_ONEDRIVE_DRIVE_ID: ${{ secrets.RCLONE_ONEDRIVE_DRIVE_ID }}
# RCLONE_ONEFRIVE_TENANT_ID: ${{ secrets.RCLONE_ONEDRIVE_TENANT_ID }}
# RCLONE_ONEDRIVE_DRIVE_TYPE: business
# dest_path: /archrepo
# repo_name: vifly
# gpg-privatekey: ${{ secrets.gpg_private_key }}
# local_path: ${{ steps.download.outputs.download-path }}
- uses: ./create-db-and-upload-action
with:
RCLONE_ONEDRIVE_CLIENT_ID: ${{ secrets.RCLONE_ONEDRIVE_CLIENT_ID }}
RCLONE_ONEDRIVE_CLIENT_SECRET: ${{ secrets.RCLONE_ONEDRIVE_CLIENT_SECRET }}
RCLONE_ONEDRIVE_REGION: global
RCLONE_ONEDRIVE_TOKEN: ${{ secrets.RCLONE_ONEDRIVE_TOKEN }}
RCLONE_ONEDRIVE_DRIVE_ID: ${{ secrets.RCLONE_ONEDRIVE_DRIVE_ID }}
RCLONE_ONEFRIVE_TENANT_ID: ${{ secrets.RCLONE_ONEDRIVE_TENANT_ID }}
RCLONE_ONEDRIVE_DRIVE_TYPE: business
dest_path: /data/archrepo
repo_name: gb-cha0s
gpg-privatekey: ${{ secrets.gpg_private_key }}
local_path: ${{ steps.download.outputs.download-path }}

0 comments on commit 31b089b

Please sign in to comment.