test: version name #5
This file contains hidden or 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: Deploy - Prod | |
| on: | |
| push: | |
| branches: ['main'] | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: β¨οΈ μμ€μ½λ νμΈμ€! | |
| uses: actions/checkout@v4 | |
| - name: β¨οΈ Node.js μ€μΉμ€! | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20.x | |
| - name: π¦ νκ²½λ³μ μ€μ μ€! | |
| run: echo "${{ secrets.ENV_FILE }}" > .env | |
| - name: π¦ ν¨ν€μ§ μ€μΉμ€! | |
| run: yarn install | |
| - name: π¦ λΉλμ€! | |
| run: yarn build | |
| - name: π λ°°ν¬μ€! | |
| env: | |
| AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
| AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
| run: aws s3 cp --recursive --region ap-northeast-2 dist s3://repicka-back-dev.shop |