Release #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release | |
on: | |
workflow_dispatch: | |
inputs: | |
version: | |
description: The git tag for the version to use for index.html | |
required: true | |
env: | |
BUCKET: models-resources | |
PREFIX: multidata-plugin | |
SRC_FILE: index-top.html | |
DEST_FILE: index.html | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- run: > | |
aws s3 cp | |
s3://${{ env.BUCKET }}/${{ env.PREFIX }}/version/${{ github.event.inputs.version }}/${{ env.SRC_FILE }} | |
s3://${{ env.BUCKET }}/${{ env.PREFIX }}/${{ env.DEST_FILE }} | |
env: | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
AWS_DEFAULT_REGION: us-east-1 |