This is an automated email from the ASF dual-hosted git repository.

pingsutw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/submarine.git


The following commit(s) were added to refs/heads/master by this push:
     new 9b13ced  SUBMARINE-1003. Deploy website only when updating the file in 
website directory
9b13ced is described below

commit 9b13ceddc679afe415b628dd466bf233ab95a1ad
Author: Kevin Su <[email protected]>
AuthorDate: Tue Aug 31 02:48:36 2021 +0800

    SUBMARINE-1003. Deploy website only when updating the file in website 
directory
    
    ### What is this PR for?
    <!-- A few sentences describing the overall goals of the pull request's 
commits.
    First time? Check out the contributing guide - 
https://submarine.apache.org/contribution/contributions.html
    -->
    We only need to build and deploy the website when we update the files in 
./webiste
    
    ### What type of PR is it?
    [Improvement]
    
    ### Todos
    No
    
    ### What is the Jira issue?
    <!-- * Open an issue on Jira 
https://issues.apache.org/jira/browse/SUBMARINE/
    * Put link here, and add [SUBMARINE-*Jira number*] in PR title, eg. 
`SUBMARINE-23. PR title`
    -->
    https://issues.apache.org/jira/browse/SUBMARINE-1003
    
    ### How should this be tested?
    <!--
    * First time? Setup Travis CI as described on 
https://submarine.apache.org/contribution/contributions.html#continuous-integration
    * Strongly recommended: add automated unit tests for any new or changed 
behavior
    * Outline any manual steps to test the PR here.
    -->
    ### Screenshots (if appropriate)
    
    ### Questions:
    * Do the license files need updating? No
    * Are there breaking changes for older versions? No
    * Does this need new documentation? No
    
    Author: Kevin Su <[email protected]>
    
    Signed-off-by: Kevin <[email protected]>
    
    Closes #732 from pingsutw/SUBMARINE-1003 and squashes the following commits:
    
    227ecba4 [Kevin Su] update workflow
---
 .github/workflows/deploy_website.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/deploy_website.yml 
b/.github/workflows/deploy_website.yml
index c1a1553..e3c14cb 100644
--- a/.github/workflows/deploy_website.yml
+++ b/.github/workflows/deploy_website.yml
@@ -16,7 +16,11 @@
 name: Deploy Submarine documentation
 
 # Trigger the workflow on push or pull request
-on: [push, pull_request]
+on:
+  pull_request:
+  push:
+    paths:
+      - 'website/**'
 
 jobs:
   checks-website:

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to