This is an automated email from the ASF dual-hosted git repository.
kranti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/iggy-website.git
The following commit(s) were added to refs/heads/main by this push:
new c3694ee01 Update deploy.yml workflow
c3694ee01 is described below
commit c3694ee0119244376f0c2967f1d4eb03d6c89b50
Author: kparisa <[email protected]>
AuthorDate: Sun Feb 9 22:15:33 2025 -0800
Update deploy.yml workflow
---
.github/workflows/deploy.yml | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml
index cc149c781..12519a5c0 100644
--- a/.github/workflows/deploy.yml
+++ b/.github/workflows/deploy.yml
@@ -20,9 +20,10 @@ jobs:
- name: Build Iggy Website
run: |
npm run build
+
- name: Copy ASF config
run: |
- cp .asf.yaml build/.asf.yaml
+ cp .asf.yaml build/.asf.yaml # Ensure .asf.yaml is inside build
directory
- name: Deploy to asf-site
run: |
@@ -32,6 +33,13 @@ jobs:
git rm -rf .
mv build/* .
rm -rf build
+
+ # Ensure .asf.yaml is present before commit
+ if [ ! -f ".asf.yaml" ]; then
+ echo "ERROR: .asf.yaml is missing!"
+ exit 1
+ fi
+
git add .
git commit -m "Deploy updated Apache Iggy site"
git push --force origin asf-site
\ No newline at end of file