Skip to content

Commit

Permalink
resolving CNAME issue
Browse files Browse the repository at this point in the history
  • Loading branch information
adilshehzad786 authored Apr 19, 2024
1 parent 2b3cb80 commit 3dfa8ba
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,19 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '20' # Set this to the Node.js version you are using
node-version: '20' # Set this to the Node.js version you are using

- name: Install dependencies
run: yarn install

- name: Build
run: yarn run build

- name: Copy CNAME to build directory
run: cp CNAME ./dist/CNAME # Ensure CNAME is copied to the correct directory for deployment

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.ORG_TOKEN }}
publish_dir: ./dist # Set this to the output directory of Vite build
publish_dir: ./dist # Set this to the output directory of your Vite build

0 comments on commit 3dfa8ba

Please # to comment.