Skip to content

Update modules

Update modules #29

Workflow file for this run

name: Update modules
on:
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
# if: ${{ contains(github.event.head_commit.message, 'Trigger from Awesome Repo') }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
cache: "npm"
cache-dependency-path: ./package-lock.json
- name: Install dependencies
run: npm install
- name: Build
run: npm run modules
- name: GIT commit and push all changed files
env:
CI_COMMIT_MESSAGE: Deploy moleculerjs/site to github.com/moleculerjs/site.git:master
CI_COMMIT_AUTHOR: Continuous Integration
run: |
git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}"
git config --global user.email "[email protected]"
git pull
git commit -a -m "${{ env.CI_COMMIT_MESSAGE }}" || echo "ignore committing"
git push