Bump org.springframework.boot:spring-boot-dependencies from 3.1.5 to 3.3.5 #360
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: Env Deployment | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 14 | |
- name: Set working directory | |
run: cd ./frontend | |
- name: Set environment variables for the deployment | |
run: | | |
if [ ${{ github.event.pull_request.base.ref }} == 'main' ]; then | |
echo "REACT_APP_API_URL=https://benchscape.azurewebsites.net/" >> .env | |
elif [ ${{ github.event.pull_request.base.ref }} == 'integration' ]; then | |
echo "REACT_APP_API_URL=https://benchscape-integration.azurewebsites.net/" >> .env | |
fi | |
- name: Install dependencies and build | |
run: | | |
cd ./frontend | |
npm install --ignore-scripts | |
npm run build | |
# Add your deployment steps here |