From 848fef47c8f43fceb916890eb9126e1f71efd3e7 Mon Sep 17 00:00:00 2001 From: Dusan Figala Date: Mon, 15 Jan 2024 14:01:26 +0100 Subject: [PATCH] test upload --- .github/workflows/docs.yml | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2335478dd..2e95497b7 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -10,7 +10,7 @@ on: workflow_dispatch: ~ jobs: - build: + publish: runs-on: ubuntu-latest steps: - name: checkout atlas-docs @@ -22,6 +22,7 @@ jobs: uses: actions/checkout@v4 with: path: atlas-source + ref: master - name: install doxygen run: sudo apt install doxygen @@ -29,27 +30,10 @@ jobs: - name: build docs run: make PUBLIC=1 WITH_ECKIT=1 WITH_DOXYGEN=1 ATLAS_SOURCE_DIR=atlas-source clean html - - name: upload artifact - uses: actions/upload-artifact@v3 - with: - name: atlas-docs - path: build/html - - publish: - runs-on: ubuntu-latest - needs: [build] - steps: - - name: download artifact - uses: actions/download-artifact@v3 - with: - name: atlas-docs - path: html - - name: publish - if: false uses: ecmwf-actions/reusable-workflows/ecmwf-sites-upload@sites-upload with: token: ${{ secrets.ECMWF_SITES_TOKEN }} - path: html + path: build/html space: atlas name: docs