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

bmarwell pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shiro-site.git


The following commit(s) were added to refs/heads/main by this push:
     new 782a0f1  fix typo for staging action.
782a0f1 is described below

commit 782a0f13de66739d62156d7c3849a53f3eac83b6
Author: Benjamin Marwell <[email protected]>
AuthorDate: Tue Mar 22 16:44:36 2022 +0100

    fix typo for staging action.
---
 .github/workflows/staging.yml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/.github/workflows/staging.yml b/.github/workflows/staging.yml
index 92f0f43..0f8487e 100644
--- a/.github/workflows/staging.yml
+++ b/.github/workflows/staging.yml
@@ -34,9 +34,11 @@ jobs:
           path: 'src'
           persist-credentials: false
 
-      - run: |
-          sed -i.bak 
's/site.host=.*/site.host=https:\/\/shiro.staged.apache.org\//g' 
jbake.properties && rm jbake.properties.bak
-          mv src/site/assets/robots.staging.txt src/site/assets/robots.txt
+      - run: sed -i.bak 
's/site.host=.*/site.host=https:\/\/shiro.staged.apache.org\//g' 
jbake.properties && rm jbake.properties.bak
+        shell: bash
+        working-directory: ./src
+
+      - run: mv src/site/assets/robots.staging.txt src/site/assets/robots.txt
         shell: bash
         working-directory: ./src
 

Reply via email to