Skip to content

Commit

Permalink
fix: config deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Tommy Alhamra committed Dec 5, 2024
1 parent 70d65ec commit eda419b
Showing 1 changed file with 23 additions and 27 deletions.
50 changes: 23 additions & 27 deletions .github/workflows/github-actions-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eda419b

Please sign in to comment.