Skip to content

Add a new config for potential deploy on Railway #642

Add a new config for potential deploy on Railway

Add a new config for potential deploy on Railway #642

name: Upload monaco-editor to AWS S3
on:
push:
branches:
- master
jobs:
upload-to-s3:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install deps
run: yarn
- name: Upload to S3
env:
NODE_CONFIG_ENV: frontend-ro
NODE_CONFIG_DIR: server/config
BASE_S3_URI: s3://frontend.ro
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: yarn upload-monaco-editor-s3