Skip to content

fixed typo in metadata #526

fixed typo in metadata

fixed typo in metadata #526

Workflow file for this run

name: Deploy ngrok docs
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy ngrok docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
cache: 'pnpm'
- name: "Create env file"
run: |
echo DEPLOY_ENV=prod > .env
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build website
run: pnpm run build
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-west-2
- name: Deploy
run: |
aws s3 sync ./build s3://docs-s3.dev-ngrok.com/docs --acl public-read
aws s3 sync ./build s3://docs-s3.stage-ngrok.com/docs --acl public-read
aws s3 sync ./build s3://docs-s3.ngrok.com/docs --acl public-read