[2단계 - 상세 정보 & UI/UX 개선하기] 헤일리(최혜림) 미션 제출합니다. (#143) #2
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 | |
name: Deploying to surge | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Setting .env | |
run: | | |
echo "TMDB_API_KEY=$TMDB_API_KEY" >> .env | |
echo "TMDB_ACCESS_TOKEN=$TMDB_ACCESS_TOKEN" >> .env | |
cat .env | |
env: | |
TMDB_API_KEY: ${{ secrets.TMDB_API_KEY }} | |
TMDB_ACCESS_TOKEN: ${{ secrets.TMDB_ACCESS_TOKEN }} | |