diff --git a/.github/workflows/static.yaml b/.github/workflows/static.yaml index 7a4584b..1026a00 100644 --- a/.github/workflows/static.yaml +++ b/.github/workflows/static.yaml @@ -44,15 +44,15 @@ jobs: uses: actions/configure-pages@v5 - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v4 with: - path: './www' - exclude: - - '**/target' - - '**/pkg' - - '**/src' - - '**/Cargo.toml' - - '**/Cargo.lock' + path: | + './www' + '!**/target' + '!**/pkg' + '!**/src' + '!**/Cargo.toml' + '!**/Cargo.lock' - name: Deploy to GitHub Pages id: deployment