Skip to content

Commit da835f5

Browse files
Fixed the Dev deployment
1 parent 0863988 commit da835f5

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

.github/workflows/deploy_dev.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,15 @@ jobs:
5050
token: ${{ secrets.GITHUB_TOKEN }}
5151
clean: false # Don't overwrite root or /dev folder
5252

53-
- name: Deploy main to root
54-
if: github.ref == 'refs/heads/main'
55-
uses: JamesIves/github-pages-deploy-action@v4
56-
with:
57-
branch: gh-pages
58-
folder: dist # Use the production build folder
59-
target-folder: '' # Deploy to the root folder
60-
token: ${{ secrets.GITHUB_TOKEN }}
61-
clean: true # Clear root before deploying main
53+
# - name: Deploy main to root
54+
# if: github.ref == 'refs/heads/main'
55+
# uses: JamesIves/github-pages-deploy-action@v4
56+
# with:
57+
# branch: gh-pages
58+
# folder: dist # Use the production build folder
59+
# target-folder: '' # Deploy to the root folder
60+
# token: ${{ secrets.GITHUB_TOKEN }}
61+
# clean: true # Clear root before deploying main
6262

6363
# - name: Deploy to GitHub Pages
6464
# uses: JamesIves/github-pages-deploy-action@v4

src/Main.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export const Main = () => {
2222
setViewCustomContent(false);
2323
}, []);
2424

25+
//Handle Back click
2526
const handleBackClick = useCallback(() => {
2627
setAddContent(null);
2728
setEditContent(null);

0 commit comments

Comments
 (0)