Skip to content

Commit 912c0b9

Browse files
author
abue.ammar
committed
build file fix
1 parent 252dd50 commit 912c0b9

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Deploy static content to Pages
44
on:
55
# Runs on pushes targeting the default branch
66
push:
7-
branches: ['master']
7+
branches: ["master"]
88

99
# Allows you to run this workflow manually from the Actions tab
1010
workflow_dispatch:
@@ -17,7 +17,7 @@ permissions:
1717

1818
# Allow one concurrent deployment
1919
concurrency:
20-
group: 'pages'
20+
group: "pages"
2121
cancel-in-progress: true
2222

2323
jobs:
@@ -34,18 +34,18 @@ jobs:
3434
uses: actions/setup-node@v3
3535
with:
3636
node-version: 18
37-
cache: 'npm'
37+
cache: "npm"
3838
- name: Install dependencies
3939
run: npm install
4040
- name: Build
4141
run: npm run build
4242
- name: Setup Pages
4343
uses: actions/configure-pages@v3
4444
- name: Upload artifact
45-
uses: actions/upload-pages-artifact@v2
45+
uses: actions/upload-pages-artifact@v3
4646
with:
47-
# Upload dist repository
48-
path: './dist'
47+
# Upload dist directory
48+
path: "./dist"
4949
- name: Deploy to GitHub Pages
5050
id: deployment
51-
uses: actions/deploy-pages@v2
51+
uses: actions/deploy-pages@v4

0 commit comments

Comments
 (0)