chore(deps): update eslint (#1833) #550
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: Docs | |
on: | |
push: | |
branches: [main] | |
jobs: | |
deploy_storybook: | |
name: Deploy docs | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20.11.1" | |
registry-url: https://registry.npmjs.org | |
cache: "npm" | |
- name: Install Dependencies | |
run: npm ci --no-optional | |
- name: Build docs | |
run: | | |
npm run build | |
pushd website | |
npm install | |
npm run build | |
popd | |
- name: Upload to S3 | |
run: | | |
npx s3-deploy './website/build/**' \ | |
--region us-east-1 \ | |
--bucket cn-static-sites \ | |
--filePrefix "atjson.condenast.io" \ | |
--cwd "./website/build" | |
env: | |
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} | |
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}} |