From 16868ef4309eb83ffef7df469245c9c5faec2078 Mon Sep 17 00:00:00 2001 From: lana-k Date: Wed, 5 May 2021 23:30:33 +0200 Subject: [PATCH] add clean-exclude --- .github/workflows/main.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 16508c1..24cd0bd 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,10 +32,11 @@ jobs: token: ${{ secrets.GITHUB_TOKEN }} - name: Deploy 🚀 - uses: JamesIves/github-pages-deploy-action@3.6.2 + uses: JamesIves/github-pages-deploy-action@4.1.1 with: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - BRANCH: build # The branch the action should deploy to. - FOLDER: dist/ # The folder the action should deploy. - CLEAN: false # Automatically remove deleted files from the deploy branch - nojekyll: true + token: ${{ secrets.GITHUB_TOKEN }} + branch: build # The branch the action should deploy to. + folder: dist/ # The folder the action should deploy. + clean: true # Automatically remove deleted files from the deploy branch + clean-exclude: .nojekyll +