From 5df679e3f1968ab48ca73fc6fd69f7804880d55e Mon Sep 17 00:00:00 2001 From: Kevin Yamauchi Date: Sat, 8 Jun 2024 22:56:09 +0200 Subject: [PATCH] add artifact (#53) --- .github/workflows/test_and_deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/test_and_deploy.yml b/.github/workflows/test_and_deploy.yml index f5c2bfa..1faa18b 100644 --- a/.github/workflows/test_and_deploy.yml +++ b/.github/workflows/test_and_deploy.yml @@ -86,6 +86,12 @@ jobs: uses: aganders3/headless-gui@v2 with: run: mkdocs build --strict + # Upload artifact + - name: Upload artifact + uses: actions/upload-artifact@v4 + with: + name: site + path: ./site # deploy when pushing to main - name: GitHub Pages action if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}