From f437be86c7ba9becc095f44dce06a5f48a3ddff9 Mon Sep 17 00:00:00 2001 From: Artemy Date: Wed, 9 Aug 2023 18:11:52 +0300 Subject: [PATCH] doc: deploy pages --- .github/workflows/gh-pages-deploy.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/gh-pages-deploy.yml diff --git a/.github/workflows/gh-pages-deploy.yml b/.github/workflows/gh-pages-deploy.yml new file mode 100644 index 0000000..f73ebd6 --- /dev/null +++ b/.github/workflows/gh-pages-deploy.yml @@ -0,0 +1,22 @@ +name: Deploy pages +on: + push: + branches: [main] +permissions: + contents: write +jobs: + deploy: + name: Deploy pages + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install dependencies + run: npm i + - name: Build pages + run: npm run build + - name: Deploy pages + uses: JamesIves/github-pages-deploy-action@v4 + with: + branch: gh-pages + folder: dist