Skip to content

Remove Terra

Remove Terra #462

name: Deploy to Staging - doc.thechaindata.com
on:
push:
branches:
- master
paths:
- "docs/**"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
# choose node.js version to use
node-version: 16
- run: npm install -g yarn
- run: yarn install
- run: yarn docs:build
- uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ap-northeast-1
- run: aws s3 sync ./docs/.vuepress/dist s3://doc.thechaindata.com/ --delete