diff --git a/.github/workflows/CD.yml b/.github/workflows/CD.yml index bd14272..93ad0a6 100644 --- a/.github/workflows/CD.yml +++ b/.github/workflows/CD.yml @@ -43,14 +43,15 @@ jobs: path-to-root: dist base-url-path: https://watchtogether.online - - name: Setup Pages - uses: actions/configure-pages@v3 + - name: Change ownership of dist directory + run: sudo chown -R $(whoami):$(whoami) dist - - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + - name: Upload artifact to GitHub Pages + uses: actions/upload-artifact@v4 with: - path: 'dist' + path: dist + name: github-pages + overwrite: true - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4