From 2169b9ac766c394759216bbbfd2a93666efe3387 Mon Sep 17 00:00:00 2001 From: lana-k Date: Mon, 12 Oct 2020 13:16:30 +0200 Subject: [PATCH] Update main.yml --- .github/workflows/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c809d33..f965558 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -22,10 +22,10 @@ jobs: npm install npm run build - - name: Deploy - uses: s0/git-publish-subdir-action@develop - env: - REPO: self - BRANCH: build - FOLDER: dist/ - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Deploy to github pages 🚀 + uses: JamesIves/github-pages-deploy-action@3.6.2 + with: + GITHUB_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