Merge pull request #18 from abyss-s/main #1
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: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '20' | ||
- name: Setting .env | ||
run: | | ||
echo "REACT_APP_KEY=$REACT_APP_PUBLIC_KEY" >> .env | ||
echo "SECRET_KEY=$SECRET_KEY" >> .env | ||
echo "REACT_APP_KAKAO_REST_API_KEY=$REACT_APP_KAKAO_REST_API_KEY" >> .env | ||
echo "REACT_APP_KAKAO_JAVASCRIPT_KEY=$REACT_APP_KAKAO_JAVASCRIPT_KEY" >> .env | ||
env: | ||
REACT_APP_PUBLIC_KEY: ${{ secrets.REACT_APP_PUBLIC_KEY }} | ||
SECRET_KEY: ${{ secrets.SECRET_KEY }} | ||
REACT_APP_KAKAO_REST_API_KEY: ${{ secrets.REACT_APP_KAKAO_REST_API_KEY }} | ||
REACT_APP_KAKAO_JAVASCRIPT_KEY: ${{ secrets.REACT_APP_KAKAO_JAVASCRIPT_KEY } | ||
Check failure on line 27 in .github/workflows/main.yml GitHub Actions / Automatically DeploymentInvalid workflow file
|