From 065a0597405b8aa57dcc7e1ddcd657a630ddab9d Mon Sep 17 00:00:00 2001 From: vickkie Date: Wed, 28 Feb 2024 17:46:45 +0300 Subject: [PATCH] wtf --- .github/workflows/webpack.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/webpack.yml b/.github/workflows/webpack.yml index d1911718..46460b9d 100644 --- a/.github/workflows/webpack.yml +++ b/.github/workflows/webpack.yml @@ -12,10 +12,12 @@ jobs: strategy: matrix: - node-version: [20.x, 18.x] + node-version: [20.x] steps: - uses: actions/checkout@v3 + with: + persist-credentials: false - name: Use Node.js ${{ matrix.node-version }} uses: actions/setup-node@v3 @@ -27,8 +29,14 @@ jobs: npm install npx webpack + - name: Set up Git user + run: | + git config --global user.name "GitHub Actions" + git config --global user.email "actions@github.com" + - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} + publish_branch: gh-pages publish_dir: ./dist