Change value returned when fail to get weather data to Error from str… #76
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: Automatically Deployment | |
on: [push] | |
jobs: | |
deployment: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Setting .env | |
run: | | |
echo "REACT_APP_PUBLIC_KEY =$REACT_APP_PUBLIC_KEY" >> .env | |
echo "REACT_APP_KAKAO_KEY = $REACT_APP_KAKAO_KEY" >> .env | |
cat .env | |
env: | |
REACT_APP_PUBLIC_KEY: ${{secrets.REACT_APP_PUBLIC_KEY}} | |
REACT_APP_KAKAO_KEY : ${{secrets.REACT_APP_KAKAO_KEY}} |