diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index 5578872..21f2b46 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -14,9 +14,9 @@ jobs: uses: actions/checkout@v2 - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 # Use v4 instead of v3 with: - node-version: 18 + node-version: 16 # Use Node.js version 16 - name: Install Dependencies run: npm install @@ -34,21 +34,18 @@ jobs: uses: actions/checkout@v2 - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 # Use v4 instead of v3 with: - node-version: 14 + node-version: 16 # Use Node.js version 16 - name: Install Dependencies run: npm install - name: Deploy to GitHub Pages run: | - # Replace 'gh-pages' with your GitHub Pages branch git checkout -b gh-pages git add -f dist - git commit -m "Deploy Vite build with Tailwind CSS" + git commit -m "Deploy Vite build" git push origin gh-pages:gh-pages env: NODE_ENV: production - -# Additional configurations if deploying to a different hosting service