aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml15
1 files changed, 6 insertions, 9 deletions
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 }}