From 0b48b684fd9b5326db62f3687e4638a3e7386bf0 Mon Sep 17 00:00:00 2001 From: Nikolay <46225163+vigdorov@users.noreply.github.com> Date: Sat, 6 Feb 2021 16:03:30 +0300 Subject: [PATCH] Update deploy.yml --- .github/workflows/deploy.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4e4127d..c70743c 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -23,10 +23,15 @@ jobs: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@v2 + - name: Install and Build 🔧 # This example project is built using npm and outputs the result to the 'build' folder. Replace with the commands required to build your project, or remove this step entirely if your site is pre-built. + run: | + npm run init + npm run build + - name: Deploy 🚀 uses: JamesIves/github-pages-deploy-action@3.7.1 with: ACCESS_TOKEN: ${{ secrets.GIT_TOKEN_V1 }} BRANCH: gh-pages # The branch the action should deploy to. - FOLDER: src # The folder the action should deploy. + FOLDER: build # The folder the action should deploy. CLEAN: true # Automatically remove deleted files from the deploy branch