diff --git a/.github/workflows/deploy-to-prod.yml b/.github/workflows/deploy-to-prod.yml index 95f303d..b55acb3 100644 --- a/.github/workflows/deploy-to-prod.yml +++ b/.github/workflows/deploy-to-prod.yml @@ -32,15 +32,16 @@ jobs: node-version: ${{ env.NODE_VERSION }} cache: npm - - name: Get directory - run: ls - - name: Install Dependencies and Build project run: | npm ci npx tailwindcss build -i ./src/input.css -o ./src/output.css --minify npm run build --f-present + - name: Pre-upload Step for refresh scenario + run: + cd dist && cp index.html 404.html && cd .. + - name: Upload Artifact uses: actions/upload-pages-artifact@v3 with: