update asf files
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_beta_publication.yml b/.github/workflows/html_beta_publication.yml
new file mode 100644
index 0000000..76fc099
--- /dev/null
+++ b/.github/workflows/html_beta_publication.yml
@@ -0,0 +1,37 @@
+name: Compilation of the Webpage
+
+on:
+ push:
+ branches:
+ - develop
+
+jobs:
+ jekyll:
+ runs-on: ubuntu-16.04
+ steps:
+ - uses: actions/checkout@v2
+
+ - name: update_url
+ run : |
+ 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
+ mv _config.yml.tmp _config.yml
+
+ # Use GitHub Actions' cache to shorten build times and decrease load on servers
+ - name: cache
+ uses: actions/cache@v2
+ with:
+ path: vendor/bundle
+ key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile') }}
+ restore-keys: |
+ ${{ runner.os }}-gems-
+
+ # Specify the target branch
+ - name: publish
+ uses: helaili/jekyll-action@v2
+ with:
+ token: ${{ secrets.TOKEN_SECURITY }}
+ 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 @@
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 @@
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