diff --git a/.github/workflows/cd.pantry.tgz.storj.test.yml b/.github/workflows/cd.pantry.tgz.storj.test.yml new file mode 100644 index 0000000000..41e615eb6f --- /dev/null +++ b/.github/workflows/cd.pantry.tgz.storj.test.yml @@ -0,0 +1,30 @@ +name: cd +run-name: "cd: pantry.tgz - storj test" + +on: + push: + +concurrency: + group: cd.pantry.tgz.storj.test + cancel-in-progress: true + +jobs: + tarball: + runs-on: ubuntu-latest + env: + AWS_ENDPOINT_URL_S3: https://gateway.storjshare.io + steps: + - uses: aws-actions/configure-aws-credentials@v4 + with: + aws-access-key-id: ${{ secrets.STORJ_ACCESS_KEY_ID }} + aws-secret-access-key: ${{ secrets.STORJ_SECRET_ACCESS_KEY }} + aws-region: us-east-1 + + - uses: actions/checkout@v4 + with: + path: co + - run: find co -type f -not -name package.yml -delete -o -type l -delete + - run: tar -C co -czf pantry.tgz . + - run: aws s3 cp + ./pantry.tgz + s3://${{ secrets.STORJ_S3_BUCKET }}/pantry.tgz