From 4556830745d4296614d365c661628a2fb906ef1f Mon Sep 17 00:00:00 2001 From: Kevin Hoerr Date: Mon, 21 Nov 2022 13:37:28 -0500 Subject: Fix build (#7) * Attempt to commit signed changes using wildcard * Temporarily enable PR builds * Use different autocommit tool --- .github/workflows/build.yml | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to '.github') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 749af33..8f1e99d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -20,14 +20,11 @@ jobs: with: node-version: ${{ matrix.node-version }} cache: 'npm' - - run: npm ci - - run: npm run build --if-present + - name: Install Node.js packages + run: npm ci + - name: Run Gatsby Build + run: npm run build --if-present - name: Commit public changes - uses: swinton/commit@v2.x - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + uses: actions-js/push@v1.x with: - files: | - public - commit-message: 'Commit from GitHub Actions (updated public build)' - ref: refs/heads/trunk + github_token: ${{ secrets.GITHUB_TOKEN }} -- cgit