Merge pull request #273 from FRONTENDSCHOOL5/develop #91
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: Front Deployment | ||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
jobs: | ||
build: | ||
name: react build & deploy | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: checkout Github Action | ||
uses: actions/checkout@v3 | ||
# .envμ μλ νκ²½λ³μλ€μ λ±λ‘ν΄μ£Όλ λ¨κ³ | ||
- name: .env setting | ||
run: | | ||
echo "REACT_APP_KAKAOMAP=${{ secrets.REACT_APP_KAKAOMAP }}" >> .env | ||
- name: install npm dependencies | ||
run: npm install | ||
- name: react build | ||
run: npm run build |