Update deploy.yml

This commit is contained in:
Nikolay
2021-02-06 16:03:30 +03:00
committed by GitHub
parent 931b12b591
commit 0b48b684fd

View File

@ -23,10 +23,15 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2 - 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 🚀 - name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@3.7.1 uses: JamesIves/github-pages-deploy-action@3.7.1
with: with:
ACCESS_TOKEN: ${{ secrets.GIT_TOKEN_V1 }} ACCESS_TOKEN: ${{ secrets.GIT_TOKEN_V1 }}
BRANCH: gh-pages # The branch the action should deploy to. 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 CLEAN: true # Automatically remove deleted files from the deploy branch