From 29b4f29be59781f809e1802b89409e5cadc3659a Mon Sep 17 00:00:00 2001 From: Nicolas Saillant <97436229+SaillantNicolas@users.noreply.github.com> Date: Fri, 26 Apr 2024 11:45:58 +0200 Subject: [PATCH] Update Deploy_web_site_with_ssh.yml --- .github/workflows/Deploy_web_site_with_ssh.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/Deploy_web_site_with_ssh.yml b/.github/workflows/Deploy_web_site_with_ssh.yml index dcb4e6277..f3a0da7f0 100644 --- a/.github/workflows/Deploy_web_site_with_ssh.yml +++ b/.github/workflows/Deploy_web_site_with_ssh.yml @@ -21,7 +21,10 @@ jobs: run: | gem install jekyll bundler - name: Change BASE_PATH - run: yq -i '.JB.BASE_PATH = "${{ vars.CGAL_WEB_SITE_URL }}"' _config.yml + env: + CGAL_WEB_SITE_URL: ${{ secrets.CGAL_WEB_SITE_URL }} + run: | + yq -i ".JB.BASE_PATH = \"$CGAL_WEB_SITE_URL\"" _config.yml - name: Remove demo/ (temporarily) run: rm -rf demo/ - name: setup nodejs