Skip to content

Commit ed107aa

Browse files
authored
fix: build and deploy workflows are independent (#90)
1 parent 13ddd30 commit ed107aa

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

.github/workflows/build-ci-test.yaml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,3 @@ jobs:
4545
cd frontend
4646
pnpm run build
4747
48-
- name: Save build artifacts
49-
if: success()
50-
uses: actions/upload-artifact@v4
51-
with:
52-
name: build
53-
path: ./frontend/dist
54-

.github/workflows/deploy-gh-pages.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,10 @@ jobs:
3737
cd frontend
3838
pnpm install
3939
40-
- name: Download Artifacts
41-
id: download-artifact
42-
uses: dawidd6/action-download-artifact@v5
43-
with:
44-
workflow: build-ci-test.yaml
45-
github_token: ${{secrets.GITHUB_TOKEN}}
46-
path: ./frontend/
40+
- name: Build the application
41+
run: |
42+
cd frontend
43+
pnpm run build
4744
4845
- name: Deploy 🚀
4946
uses: JamesIves/github-pages-deploy-action@v4

0 commit comments

Comments
 (0)