Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

Commit 778c9bc

Browse files
committed
Force redeploy
1 parent ce230eb commit 778c9bc

File tree

1 file changed

+26
-22
lines changed

1 file changed

+26
-22
lines changed

.github/workflows/deploy.yml

Lines changed: 26 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
- name: Install step
3232
run: 'npm install'
3333

34+
- name: Create .env.production
35+
run: |
36+
echo "VITE_API_URL=${{ secrets.VITE_API_URL }}" > .env.production
37+
3438
- name: Build step
3539
run: 'npm run build'
3640

@@ -41,30 +45,30 @@ jobs:
4145
entrypoint: 'https://deno.land/[email protected]/http/file_server.ts'
4246
root: 'dist'
4347

44-
deploy-to-github-pages:
45-
name: Deploy to GitHub Pages.
46-
runs-on: ubuntu-latest
47-
needs: deploy-to-deno # Ensures Deno Deploy finishes first
48+
# deploy-to-github-pages:
49+
# name: Deploy to GitHub Pages.
50+
# runs-on: ubuntu-latest
51+
# needs: deploy-to-deno # Ensures Deno Deploy finishes first
4852

49-
steps:
50-
- name: Clone repository
51-
uses: actions/checkout@v4
53+
# steps:
54+
# - name: Clone repository
55+
# uses: actions/checkout@v4
5256

53-
- name: Install Node.js
54-
uses: actions/setup-node@v4
55-
with:
56-
node-version: lts/*
57+
# - name: Install Node.js
58+
# uses: actions/setup-node@v4
59+
# with:
60+
# node-version: lts/*
5761

58-
- name: Install dependencies
59-
run: npm install
62+
# - name: Install dependencies
63+
# run: npm install
6064

61-
- name: Build project
62-
run: npm run build
65+
# - name: Build project
66+
# run: npm run build
6367

64-
- name: Deploy to GitHub Pages
65-
uses: peaceiris/actions-gh-pages@v3
66-
with:
67-
github_token: ${{ secrets.GITHUB_TOKEN }}
68-
publish_dir: ./dist
69-
publish_branch: gh-pages # Ensure it's pushing to the correct branch
70-
force_orphan: true # Ensure it overwrites the previous deployment.
68+
# - name: Deploy to GitHub Pages
69+
# uses: peaceiris/actions-gh-pages@v3
70+
# with:
71+
# github_token: ${{ secrets.GITHUB_TOKEN }}
72+
# publish_dir: ./dist
73+
# publish_branch: gh-pages # Ensure it's pushing to the correct branch
74+
# force_orphan: true # Ensure it overwrites the previous deployment.

0 commit comments

Comments
 (0)