diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index bd14272..4245885 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -43,14 +43,11 @@ jobs: path-to-root: dist base-url-path: https://watchtogether.online - - name: Setup Pages - uses: actions/configure-pages@v3 - - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + - name: Upload dist directory to artifacts + uses: actions/upload-artifact@v4 with: - path: 'dist' + name: github-pages + path: dist - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v2 + - name: Deploy the artifact to GitHub Pages + uses: actions/deploy-pages@v4