diff --git a/.github/workflows/github-actions-deploy.yml b/.github/workflows/github-actions-deploy.yml index 57386e5..4d020d6 100644 --- a/.github/workflows/github-actions-deploy.yml +++ b/.github/workflows/github-actions-deploy.yml @@ -17,33 +17,29 @@ concurrency: cancel-in-progress: true jobs: - # build: - # name: Build - # runs-on: ubuntu-latest - # steps: - # - run: echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event." - # - run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!" - # - run: echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}." - - # - name: Check out repository code - # uses: actions/checkout@v4 - - # - name: Setup Node.js - # uses: actions/setup-node@v3 - # with: - # node-version: 16 - - # - name: Install dependencies - # run: npm install - - # - name: Build project - # run: npm run deploy - - # - name: Upload production-ready build files - # uses: actions/upload-artifact@v4 - # with: - # name: production-files - # path: ./dist + build: + name: Build + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: 16 + + - name: Install dependencies + run: npm install + + - name: Build project + run: npm run deploy + + - name: Upload production-ready build files + uses: actions/upload-artifact@v4 + with: + name: production-files + path: ./dist deploy: # name: Deploy