Skip to content

Commit c9b0a84

Browse files
committed
Fix (Deployment Error)
1 parent daabe3b commit c9b0a84

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/deploy-frontend.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
# Allow manual triggering
1212
workflow_dispatch:
1313

14+
permissions:
15+
contents: write # Add this line to grant write permissions
16+
1417
jobs:
1518
build-and-deploy:
1619
runs-on: ubuntu-latest
@@ -42,11 +45,4 @@ jobs:
4245
with:
4346
folder: frontend/dist
4447
branch: gh-pages
45-
clean: true
46-
47-
- name: Upload build artifacts
48-
uses: actions/upload-artifact@v3
49-
with:
50-
name: build-artifacts
51-
path: frontend/dist
52-
if-no-files-found: error
48+
clean: true

0 commit comments

Comments
 (0)