mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-01-01 14:44:48 +01:00
Enable manual dispatch of script/mirror update
in Actions
This commit is contained in:
parent
fa6cb85db5
commit
57a4f9ce9f
1 changed files with 10 additions and 2 deletions
12
.github/workflows/mirror.yml
vendored
12
.github/workflows/mirror.yml
vendored
|
@ -1,6 +1,14 @@
|
|||
name: Mirror
|
||||
|
||||
on: push
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
beforeRef:
|
||||
description: Git commit reference to start comparing from
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
test:
|
||||
|
@ -12,7 +20,7 @@ jobs:
|
|||
- name: Update download mirror
|
||||
run: script/mirror update "${BEFORE_REF}.."
|
||||
env:
|
||||
BEFORE_REF: ${{ github.event.push.before }}
|
||||
BEFORE_REF: ${{ github.event.before }}${{ github.event.inputs.beforeRef }}
|
||||
AMAZON_S3_BUCKET: ruby-build-mirror
|
||||
AWS_ACCESS_KEY_ID: AKIAJKAUQVHU6X4CODDQ
|
||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.MIRROR_UPLOAD_SECRET }}
|
||||
|
|
Loading…
Reference in a new issue