Skip to content

Commit a712cb9

Browse files
author
Daveed
committed
forcing yml
1 parent 2453c46 commit a712cb9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/build.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ env:
1111
REACT_APP_STRAPI_URL: ${{ secrets.STRAPI_URL }}
1212
REACT_APP_STORE_SLUG: ${{ secrets.STORE_SLUG }}
1313

14-
1514
permissions:
1615
contents: write
1716
pages: write
@@ -35,22 +34,23 @@ jobs:
3534
- name: Build
3635
run: npm run build
3736

37+
- name: Setup Pages
38+
uses: actions/configure-pages@v4
39+
3840
- name: Upload artifact
39-
uses: actions/upload-artifact@v4
41+
uses: actions/upload-pages-artifact@v3
4042
with:
41-
name: github-pages-${{ github.run_id }}
4243
path: ./build
43-
retention-days: 1
4444

4545
deploy:
4646
needs: build
4747
runs-on: ubuntu-latest
4848
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
4949
permissions:
50-
pages: write # to deploy to Pages
51-
id-token: write # to verify the deployment originates from an appropriate source
50+
pages: write
51+
id-token: write
5252
environment:
53-
name: github-pages-${{ github.run_id }}
53+
name: github-pages
5454
url: ${{ steps.deployment.outputs.page_url }}
5555
steps:
5656
- name: Deploy to GitHub Pages

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": false,
55
"license": "SEE LICENSE IN LICENSE",
6-
"homepage": "https://dev.markket.place",
6+
"homepage": ".",
77
"dependencies": {
88
"@emotion/react": "^11.14.0",
99
"@mantine/carousel": "^7.17.2",

0 commit comments

Comments
 (0)