From d9d60e017c53500aa8b8c3a7144131ade927a692 Mon Sep 17 00:00:00 2001 From: Jonny-Cho Date: Sun, 5 Nov 2023 03:49:33 +0900 Subject: [PATCH] update ci --- .github/workflows/ci.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53e55bf..71620c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,8 +17,15 @@ jobs: with: node-version-file: '.nvmrc' cache: npm - - name: GithubPages Deploy - uses: enriikke/gatsby-gh-pages-action@v2 - with: - access-token: ${{ secrets.GITHUB_TOKEN }} - deploy-branch: gh-pages + + - name: Set Git User + run: | + git config user.name "Jonny-Cho" + git config user.email "andante2183@gmail.com" + + - name: Run deploy + run: | + npm ci + npm run deploy + env: + NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}