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

kamilbregula pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 0951cc5  Improvements for Github Action Artifacts (#331)
0951cc5 is described below

commit 0951cc5fe39e5fe0a4b870eefaf2aa997b222804
Author: Kamil Breguล‚a <[email protected]>
AuthorDate: Fri Dec 4 13:36:45 2020 +0100

    Improvements for Github Action Artifacts (#331)
    
    * Improvements for Github Action Artifacts
    
    * fixup! Improvements for Github Action Artifacts
    
    * fixup! fixup! Improvements for Github Action Artifacts
---
 .github/workflows/build.yml | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 0127bef..051bb38 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -60,6 +60,8 @@ jobs:
         with:
           name: airflow-website
           path: './dist'
+          if-no-files-found: error
+          retention-days: 14
       - name: ๐Ÿš€ Deploy website on asf-site branch
         uses: 
JamesIves/github-pages-deploy-action@132898c54c57c7cc6b80eb3a89968de8fc283505  
# v3.7.1
         if: ${{ github.event_name == 'push' }}
@@ -80,6 +82,8 @@ jobs:
         with:
           name: airflow-sphinx-theme
           path: './sphinx_airflow_theme/dist'
+          if-no-files-found: error
+          retention-days: 14
       - name: ๐Ÿ”ง Build theme demo
         working-directory: sphinx_airflow_theme
         run: |
@@ -90,7 +94,9 @@ jobs:
         uses: actions/upload-artifact@726a6dcd0199f578459862705eed35cda05af50b 
 # v2.2.1
         with:
           name: airflow-sphinx-theme-demo
-          path: './sphinx_airflow_theme/demo/_build/html'
+          path: './sphinx_airflow_theme/demo/_build'
+          if-no-files-found: error
+          retention-days: 14
       - name: ๐Ÿš€ Create releases on GitHub
         working-directory: sphinx_airflow_theme
         env:

Reply via email to