This is an automated email from the ASF dual-hosted git repository. kamilbregula pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/airflow-site.git
The following commit(s) were added to refs/heads/main by this push: new 14ec0b9 Publish .asf.yaml on asf-site branch (#433) 14ec0b9 is described below commit 14ec0b97a8e4778442df0d53cadf5f712340c567 Author: Kamil Breguła <mik-...@users.noreply.github.com> AuthorDate: Mon Jun 7 23:51:12 2021 +0200 Publish .asf.yaml on asf-site branch (#433) * Update build.yml * Update build.yml * Update build.yml --- .github/workflows/build.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f472cbc..84116cc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,6 +61,12 @@ jobs: path: './dist' if-no-files-found: error retention-days: 14 + - name: 👷🏻 Copy .asf.yaml to /dist/ + if: ${{ github.event_name == 'push' }} + run: | + # The asf.yaml file must be in the branch from which the files are published. + # Otherwise, ASF publising tools cannot detect it. + cp .asf.yaml ./dist/ - name: 🚀 Deploy website on asf-site branch uses: apache/airflow-JamesIves-github-pages-deploy-action@132898c54c57c7cc6b80eb3a89968de8fc283505 # v3.7.1 if: ${{ github.event_name == 'push' }}