You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wayang.apache.org by be...@apache.org on 2021/02/22 05:25:47 UTC
[incubator-wayang-website] 08/37: correction changes
This is an automated email from the ASF dual-hosted git repository.
bertty pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-wayang-website.git
commit e2504ddd536188202f36de1b0c82a4df0f3eb181
Author: Bertty Contreras-Rojas <be...@scalytics.io>
AuthorDate: Sun Feb 14 12:14:32 2021 -0300
correction changes
---
.github/workflows/html_publication.yml | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/html_publication.yml b/.github/workflows/html_publication.yml
index 0df24fd..16e9948 100644
--- a/.github/workflows/html_publication.yml
+++ b/.github/workflows/html_publication.yml
@@ -11,7 +11,9 @@ jobs:
- env:
URL: ${{ secrets.URL }}
BASE_URL: ${{ secrets.BASE_URL }}
- - run : |
+
+ - name: update_url
+ run : |
URL="${URL:='https://wayang.apache.org'}" # If variable not set or null, set it to default.
BASE_URL="${BASE_URL:='/'}" # If variable not set or null, set it to default.
echo "url: \"${URL}\"" > _config.yml.tmp
@@ -21,7 +23,8 @@ jobs:
# Use GitHub Actions' cache to shorten build times and decrease load on servers
- - uses: actions/cache@v2
+ - name: cache
+ uses: actions/cache@v2
with:
path: vendor/bundle
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
@@ -29,7 +32,8 @@ jobs:
${{ runner.os }}-gems-
# Specify the target branch
- - uses: helaili/jekyll-action@v2
+ - name: publish
+ uses: helaili/jekyll-action@v2
with:
token: ${{ secrets.TOKEN_SECURITY }}
target_branch: 'gh-pages'
\ No newline at end of file