Add a new config for potential deploy on Railway #642
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: 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 | |