chore: 🔖 release new versions #408
Workflow file for this run
This file contains hidden or 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: AWS S3 sandbox | |
| on: | |
| pull_request: | |
| types: [labeled] | |
| jobs: | |
| deploy-s3-sandbox: | |
| if: ${{ github.event.label.name == 'deploy_s3_sandbox' }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20 | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Bundle into single file | |
| run: npm run webpack-bundle | |
| - name: Upload to AWS sandbox S3 bucket | |
| run: npm run upload | |
| env: | |
| AWS_ACCESS_KEY_ID: ${{ secrets.AWS_SANDBOX_ACCESS_KEY_ID }} | |
| AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SANDBOX_SECRET_ACCESS_KEY }} | |
| AWS_DEFAULT_REGION: us-east-1 | |
| AWS_S3_PATH: redocly-sandbox-openapi-cli-dist |