From c960f7e2bc58c86804a459d0dca6e5ed4d6e27ea Mon Sep 17 00:00:00 2001 From: johc Date: Thu, 21 Mar 2024 16:23:33 +0100 Subject: [PATCH] More updates --- .github/workflows/static.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/static.yml b/.github/workflows/static.yml index 22bb489..491c58b 100644 --- a/.github/workflows/static.yml +++ b/.github/workflows/static.yml @@ -53,12 +53,13 @@ jobs: - name: Setup Pages uses: actions/configure-pages@v4 - # Change back directory - - name: Change directory - run: cd .. - - - name: Deploy - uses: JamesIves/github-pages-deploy-action@4.1.1 + # Upload artifact + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 with: - branch: gh-pages # The branch the action should deploy to. - folder: fmd-telemetry/dist/fmd-telemetry + path: './dist/fmd-telemetry' + + # Deploy to GitHub Pages + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4