Skip to content

Commit

Permalink
fix: updated images branch
Browse files Browse the repository at this point in the history
  • Loading branch information
terran6 committed Dec 26, 2023
1 parent 445dbae commit 6345830
Showing 1 changed file with 18 additions and 19 deletions.
37 changes: 18 additions & 19 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Node.js CI
on:
push:
branches:
- main
- images

workflow_dispatch:

Expand All @@ -13,25 +13,24 @@ on:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- run: node index.js
- name: setup git config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- uses: actions/checkout@v3
- name: Use Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- run: node index.js

- name: setup git config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: commit
run: |
git add -A
git commit -m "chore: automatic image update" || true
git push origin $GITHUB_REF
- name: commit
run: |
git add -A
git commit -m "chore: automatic image update" || true
git push origin $GITHUB_REF

0 comments on commit 6345830

Please sign in to comment.