Skip to content

Commit 25db716

Browse files
committed
Updated CI workflow to use latest GitHub Actions versions
1 parent 50f971d commit 25db716

1 file changed

Lines changed: 3 additions & 11 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ jobs:
9494
run: npm run build
9595

9696
- name: Upload build artifacts
97-
uses: actions/upload-artifact@v3
97+
uses: actions/upload-artifact@v4 # ✅ Updated to v4
9898
with:
9999
name: build-output
100100
path: .next/
@@ -107,18 +107,14 @@ jobs:
107107
name: staging
108108
steps:
109109
- name: Download build artifacts
110-
uses: actions/download-artifact@v3
110+
uses: actions/download-artifact@v4 # ✅ Updated to v4
111111
with:
112112
name: build-output
113113
path: .next/
114114

115115
- name: Deploy to Staging
116116
run: echo "Deploying to staging environment"
117117
# Add your deployment commands here
118-
# Example:
119-
# - uses: some-deployment-action@v1
120-
# with:
121-
# target: staging
122118

123119
deploy-production:
124120
needs: build
@@ -128,15 +124,11 @@ jobs:
128124
name: production
129125
steps:
130126
- name: Download build artifacts
131-
uses: actions/download-artifact@v3
127+
uses: actions/download-artifact@v4 # ✅ Updated to v4
132128
with:
133129
name: build-output
134130
path: .next/
135131

136132
- name: Deploy to Production
137133
run: echo "Deploying to production environment"
138134
# Add your deployment commands here
139-
# Example:
140-
# - uses: some-deployment-action@v1
141-
# with:
142-
# target: production

0 commit comments

Comments
 (0)