Skip to content

Commit

Permalink
test upload
Browse files Browse the repository at this point in the history
  • Loading branch information
figi44 committed Jan 15, 2024
1 parent c5f5b76 commit 848fef4
Showing 1 changed file with 3 additions and 19 deletions.
22 changes: 3 additions & 19 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch: ~

jobs:
build:
publish:
runs-on: ubuntu-latest
steps:
- name: checkout atlas-docs
Expand All @@ -22,34 +22,18 @@ jobs:
uses: actions/checkout@v4
with:
path: atlas-source
ref: master

- name: install doxygen
run: sudo apt install doxygen

- 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

0 comments on commit 848fef4

Please sign in to comment.