Merge pull request #6 from DevKor-github/feat/#5/view-layout #4
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 - Dev | |
| on: | |
| push: | |
| branches: ['dev'] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: β¨οΈ μμ€μ½λ νμΈμ€! | |
| uses: actions/checkout@v4 | |
| - name: β¨οΈ Node.js μ€μΉμ€! | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: 20.x | |
| - name: π¦ ν¨ν€μ§ μ€μΉμ€! | |
| run: npm install | |
| - name: π¦ νκ²½λ³μ μ€μ μ€! | |
| run: | | |
| touch .env | |
| echo VITE_API_URL=${{ secrets.VITE_API_URL }} >> .env | |
| - name: π¦ λΉλμ€! | |
| run: npm run build | |
| - name: π λ°°ν¬μ€! | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GH_ACTIONS_TOKEN }} | |
| publish_dir: ./dist |