This is an automated email from the ASF dual-hosted git repository.

apratim pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-resilientdb-site.git


The following commit(s) were added to refs/heads/master by this push:
     new bde2f90  Update nextjs.yml
bde2f90 is described below

commit bde2f902e684089601681eb785e3fb05ca506ca1
Author: Apratim Shukla <[email protected]>
AuthorDate: Wed May 22 11:20:18 2024 -0700

    Update nextjs.yml
---
 .github/workflows/nextjs.yml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/nextjs.yml b/.github/workflows/nextjs.yml
index f108d42..61494df 100644
--- a/.github/workflows/nextjs.yml
+++ b/.github/workflows/nextjs.yml
@@ -24,6 +24,11 @@ jobs:
       - name: Build the site
         run: npm run build
 
+      - name: Add asf.yaml file
+        run: |
+          echo "publish:" > out/asf.yaml
+          echo "  whoami: asf-site" >> out/asf.yaml
+
       - name: Deploy to asf-site branch
         env:
           GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -34,4 +39,4 @@ jobs:
           git config user.email "[email protected]"
           git add .
           git commit -m "Deploy to asf-site"
-          git push --force https://x-access-token:${{ secrets.GITHUB_TOKEN 
}}@github.com/<YOUR_GITHUB_USERNAME>/<YOUR_PROJECT_REPO>.git master:asf-site
+          git push --force https://x-access-token:${{ secrets.GITHUB_TOKEN 
}}@github.com/apache/incubator-resilientdb-site.git master:asf-site

Reply via email to