Skip to content

Commit d4c5a32

Browse files
committed
Add redirect file copy to build process in GitHub Actions
1 parent 00c2568 commit d4c5a32

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
uses: actions/checkout@v3
1717

1818
- name: Build
19-
run: cd my-app && npm i && npm run build && mkdir -p deploy/2023 && cp -r build/* deploy/2023/
19+
run: cd my-app && npm i && npm run build && mkdir -p deploy/2023 && cp -r build/* deploy/2023/ && cp public/_redirects deploy/
2020

2121
- name: Deploy to Cloudflare Pages
2222
uses: cloudflare/pages-action@v1

0 commit comments

Comments
 (0)