From ce058ca9eb0d1433cc7c6cd685d1918f894e4a2a Mon Sep 17 00:00:00 2001 From: Tommy Alhamra Date: Thu, 5 Dec 2024 14:16:37 +0700 Subject: [PATCH] fix: config deploy --- .github/workflows/github-actions-deploy.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/github-actions-deploy.yml b/.github/workflows/github-actions-deploy.yml index f357d5e..953cdbd 100644 --- a/.github/workflows/github-actions-deploy.yml +++ b/.github/workflows/github-actions-deploy.yml @@ -70,21 +70,27 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - name: Set up Node - uses: actions/setup-node@v4 + uses: actions/setup-node@v3 with: node-version: 16 + - name: Install dependencies run: npm ci + - name: Build run: npm run build + - name: Setup Pages uses: actions/configure-pages@v4 + - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: # Upload dist folder path: './dist' + - name: Deploy to GitHub Pages id: deployment uses: actions/deploy-pages@v4