Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change back homarr cron trigger #12

Merged
merged 1 commit into from
Mar 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,20 @@ jobs:
[cloudflare]
type = s3
provider = Cloudflare
access_key_id = ${{secrets.R2_ACCESS_KEY_ID}}
secret_access_key = ${{secrets.R2_SECRET_ACCESS_KEY}}
endpoint = ${{secrets.R2_ENDPOINT}}
access_key_id = $R2_ACCESS_KEY_ID
secret_access_key = $R2_SECRET_ACCESS_KEY
endpoint = $R2_ENDPOINT
region = auto
EOF
echo
rclone copy ./${{inputs.app_name}}-${{inputs.app_version}}-${{inputs.architecture}}-root.tar.xz cloudflare:lxc-images --config /tmp/rclone.conf
rclone copy ./${{inputs.app_name}}-${{inputs.app_version}}-${{inputs.architecture}}-meta.tar.xz cloudflare:lxc-images --config /tmp/rclone.conf
echo
echo 'LXC Image published successfully !'
env:
R2_ACCESS_KEY_ID: ${{secrets.R2_ACCESS_KEY_ID}}
R2_SECRET_ACCESS_KEY: ${{secrets.R2_SECRET_ACCESS_KEY}}
R2_ENDPOINT: ${{secrets.R2_ENDPOINT}}

- name: Publish build info
if: github.event_name == 'schedule' || (inputs.branch_name == 'main' && inputs.is_merged == true)
Expand Down