Skip to content

Export access keys to environment #6

Export access keys to environment

Export access keys to environment #6

Workflow file for this run

---
name: recovery
on: [push]
jobs:
recovery:
runs-on: [ubuntu-latest]
steps:
- name: write files
run: |-
mkdir keys
echo "${{ secrets.SPACK_DEPLOYMENT_KEY_PUB }}" > keys/spack_key.pub
echo "${{ secrets.SPACK_DEPLOYMENT_KEY_PRIVATE }}" > keys/spack_key
ls
ls keys
aws s3 cp --recursive keys/ s3://erik-temp-bucket/
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}