This commit is contained in:
2024-06-25 14:57:04 +02:00
parent ff12f75c46
commit 652040ba21
+12 -12
View File
@@ -48,20 +48,20 @@ jobs:
- name: Build - name: Build
run: npm run build # Assuming you have a build script defined in your package.json run: npm run build # Assuming you have a build script defined in your package.json
- name: Upload Artifact # - name: Upload Artifact
uses: actions/upload-artifact@v3 # uses: actions/upload-artifact@v3
with: # with:
name: nextjs-build # name: nextjs-build
path: .next/ # path: .next/
- name: Archive artifact # - name: Archive artifact
run: tar czf nextjs-build.tar.gz.next/ # run: tar czf nextjs-build.tar.gz.next/
- name: Upload archived artifact # - name: Upload archived artifact
uses: actions/upload-artifact@v3 # uses: actions/upload-artifact@v3
with: # with:
name: nextjs-archive # name: nextjs-archive
path: nextjs-build.tar.gz # path: nextjs-build.tar.gz
deploy: deploy:
needs: build needs: build