mirror of
https://github.com/rbenv/ruby-build.git
synced 2025-01-01 14:44:48 +01:00
19 lines
450 B
YAML
19 lines
450 B
YAML
|
name: Mirror
|
||
|
|
||
|
on: push
|
||
|
|
||
|
jobs:
|
||
|
test:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v2
|
||
|
with:
|
||
|
fetch-depth: 0
|
||
|
- name: Update download mirror
|
||
|
run: script/mirror update "${BEFORE_REF}.."
|
||
|
env:
|
||
|
BEFORE_REF: ${{ github.event.push.before }}
|
||
|
AMAZON_S3_BUCKET: ruby-build-mirror
|
||
|
AWS_ACCESS_KEY_ID: AKIAJKAUQVHU6X4CODDQ
|
||
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.MIRROR_UPLOAD_SECRET }}
|