From c0e181944f3f3203763ab5fbd25c757b7524f8b1 Mon Sep 17 00:00:00 2001 From: Pelayori <31128562+Pelayori@users.noreply.github.com> Date: Sun, 18 Feb 2024 03:04:31 +0100 Subject: [PATCH] More testing --- .github/workflows/deploy-pages.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index fde3bbbf..17f52253 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -26,16 +26,17 @@ jobs: with: node-version: '14.x' - - name: Configure Git - run: | - git config user.name "GitHub Action" - git config user.email "action@github.com" - - name: Install npm dependencies in docs run: cd docs && npm install - name: Build project run: cd docs && npm run build - - name: Deploy project - run: cd docs && npm run deploy \ No newline at end of file + - name: Deploy to GitHub Pages + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + git config --global user.name "github-actions[bot]" + git config --global user.email "github-actions[bot]@users.noreply.github.com" + cd docs + npx gh-pages -d build -r https://x-access-token:${GITHUB_TOKEN}@github.com/Arquisoft/wiq_es04b.git