Skip to content

refactor: 628 - remove unused env variables (#629) #181

refactor: 628 - remove unused env variables (#629)

refactor: 628 - remove unused env variables (#629) #181

Workflow file for this run

name: Production
on:
push:
branches:
- main
env:
NODE_VERSION: '22.x' # set this to the node version to use
AWS_S3_BUCKET: 'sites-frontend'
AWS_ACCESS_KEY_ID: ${{ secrets.DEPLOY_AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.DEPLOY_AWS_SECRET_ACCESS_KEY }}
AWS_REGION: 'eu-central-1'
jobs:
rs-school:
name: Build and Deploy (rs.school)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
- name: build
run: |
npm install
npm run build
- uses: jakejarvis/s3-sync-action@master
with:
args: --cache-control max-age=300
env:
SOURCE_DIR: 'build'
DEST_DIR: rs-school