diff --git a/.github/workflows/release-mirror.yml b/.github/workflows/release-mirror.yml new file mode 100644 index 00000000000..ad1273b7145 --- /dev/null +++ b/.github/workflows/release-mirror.yml @@ -0,0 +1,37 @@ +# This workflow scp the specified version release files to the match of mirror site +name: Release Mirror + +on: + workflow_dispatch: + +inputs: + version: + description: 'release version' + required: false + +jobs: + cp: + runs-on: ubuntu-latest + steps: + # ssh actions have limitations, so we use raw ssh + - name: Configure SSH + run: | + mkdir -p ~/.ssh/ + echo "$SSH_KEY" > ~/.ssh/staging.key + chmod 600 ~/.ssh/staging.key + cat >>~/.ssh/config <