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:26:08 UTC
[incubator-wayang-website] 29/37: update asf files
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 4b9c4ad0624f2f500be2ad53a40a1d94a1336838
Author: Bertty Contreras-Rojas <be...@scalytics.io>
AuthorDate: Mon Feb 15 03:04:47 2021 -0300
update asf files
---
.asf.yaml | 32 ++++++++++++++++++++++
...l_publication.yml => html_beta_publication.yml} | 15 ++++------
.github/workflows/html_publication.yml | 10 ++-----
3 files changed, 40 insertions(+), 17 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
new file mode 100644
index 0000000..979caa8
--- /dev/null
+++ b/.asf.yaml
@@ -0,0 +1,32 @@
+notifications:
+ commits: commits@wayang.apache.org
+ issues: issues@wayang.apache.org
+ pullrequests: dev@wayang.apache.org
+ jira_options: link label worklog comment
+
+# Staging and publishing profile for incubator-wayang-website.git:
+staging:
+ profile: ~
+ whoami: asf-staging
+
+
+publish:
+ whoami: asf-site
+
+github:
+ description: "Apache Wayang is an Cross-Platform processing system"
+ homepage: https://wayang.apache.org/
+ features:
+ # Disable wiki for documentation
+ wiki: false
+ # Disable issue management
+ issues: false
+ # Disable projects for project management boards
+ projects: false
+ enabled_merge_buttons:
+ # enable squash button:
+ squash: true
+ # enable merge button:
+ merge: true
+ # disable rebase button:
+ rebase: false
\ No newline at end of file
diff --git a/.github/workflows/html_publication.yml b/.github/workflows/html_beta_publication.yml
similarity index 70%
copy from .github/workflows/html_publication.yml
copy to .github/workflows/html_beta_publication.yml
index a278f2a..76fc099 100644
--- a/.github/workflows/html_publication.yml
+++ b/.github/workflows/html_beta_publication.yml
@@ -1,25 +1,20 @@
name: Compilation of the Webpage
on:
- pull_request:
- types: [closed]
+ push:
branches:
- - main
+ - develop
jobs:
jekyll:
runs-on: ubuntu-16.04
- env:
- URL: ${{ secrets.URL }}
- BASE_URL: ${{ secrets.BASE_URL }}
steps:
- uses: actions/checkout@v2
-
- 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.
+ URL="https://wayang.staged.apache.org"
+ BASE_URL="/"
echo "url: \"${URL}\"" > _config.yml.tmp
echo "baseurl: \"${BASE_URL}\"" >> _config.yml.tmp
cat _config.yml | grep -v "url:" >> _config.yml.tmp
@@ -39,4 +34,4 @@ jobs:
uses: helaili/jekyll-action@v2
with:
token: ${{ secrets.TOKEN_SECURITY }}
- target_branch: 'gh-pages'
\ No newline at end of file
+ target_branch: 'asf-staging'
\ No newline at end of file
diff --git a/.github/workflows/html_publication.yml b/.github/workflows/html_publication.yml
index a278f2a..67d9ef4 100644
--- a/.github/workflows/html_publication.yml
+++ b/.github/workflows/html_publication.yml
@@ -9,17 +9,13 @@ on:
jobs:
jekyll:
runs-on: ubuntu-16.04
- env:
- URL: ${{ secrets.URL }}
- BASE_URL: ${{ secrets.BASE_URL }}
steps:
- uses: actions/checkout@v2
-
- 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.
+ URL="https://wayang.apache.org"
+ BASE_URL="/"
echo "url: \"${URL}\"" > _config.yml.tmp
echo "baseurl: \"${BASE_URL}\"" >> _config.yml.tmp
cat _config.yml | grep -v "url:" >> _config.yml.tmp
@@ -39,4 +35,4 @@ jobs:
uses: helaili/jekyll-action@v2
with:
token: ${{ secrets.TOKEN_SECURITY }}
- target_branch: 'gh-pages'
\ No newline at end of file
+ target_branch: 'asf-site'
\ No newline at end of file