This is an automated email from the ASF dual-hosted git repository.
casion pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-linkis-website.git
The following commit(s) were added to refs/heads/dev by this push:
new 98c225170 scheduled merge (#343)
98c225170 is described below
commit 98c2251703018a247c91a2addc4482c2cf744c83
Author: Beacontownfc <[email protected]>
AuthorDate: Sat Jun 18 11:40:06 2022 +0800
scheduled merge (#343)
The purpose of this workflow is to periodically merge "asf-staging" into
"asf-site"
---
.github/workflows/scheduled-merge.yml | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/.github/workflows/scheduled-merge.yml
b/.github/workflows/scheduled-merge.yml
new file mode 100644
index 000000000..aef2b2ba9
--- /dev/null
+++ b/.github/workflows/scheduled-merge.yml
@@ -0,0 +1,26 @@
+name: Scheduled Merge
+
+on:
+ schedule:
+ # Run everyday at 0:00 AM or 12:00 AM (See
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07)
+ - cron: "0 0,12 * * *"
+
+jobs:
+ # The purpose of this workflow is to periodically merge "asf-staging" into
"asf-site"
+ build:
+ # The type of runner that the job will run on
+ runs-on: ubuntu-latest
+
+ # Steps represent a sequence of tasks that will be executed as part of the
job
+ steps:
+ # Checks-out your repository under $GITHUB_WORKSPACE, so your job can
access it
+ - uses: actions/checkout@v3
+ with:
+ ref: 'asf-staging'
+
+ - name: scheduled merge
+ uses: peaceiris/[email protected]
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_dir:
/home/runner/work/incubator-linkis-website/incubator-linkis-website/
+ publish_branch: asf-site
\ No newline at end of file
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]