[digitalocean] fixed the docker build #13
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: Build and Deploy | |
# | |
#on: | |
# push: | |
# tags: | |
# - 'v*' | |
# | |
#jobs: | |
# deploy: | |
# runs-on: ubuntu-18.04 | |
# steps: | |
# - uses: actions/checkout@v2 | |
# | |
# - name: Setup Node | |
# uses: actions/[email protected] | |
# with: | |
# node-version: '14' | |
# | |
# - name: Install | |
# run: yarn install | |
# | |
# - name: Build | |
# run: yarn build | |
# env: | |
# CI: false | |
# | |
# - name: Deploy to S3 | |
# uses: jakejarvis/s3-sync-action@master | |
# with: | |
# args: --acl public-read --delete | |
# env: | |
# AWS_S3_BUCKET: 'bridge.starcoin.org' | |
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
# AWS_REGION: 'ap-northeast-3' | |
# SOURCE_DIR: 'dist' |