docs: updating translate doc with project-dir option #306
Workflow file for this run
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: 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 | |
- run: node --version | |
- run: npm --version | |
- name: cache node modules | |
uses: actions/cache@v1 | |
with: | |
path: ~/.npm # npm cache files are stored in `~/.npm` on Linux/macOS | |
key: npm-${{ hashFiles('package-lock.json') }} | |
restore-keys: | | |
npm-${{ hashFiles('package-lock.json') }} | |
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 |