Skip to content

Workflow file for this run

name: Update submodule in mikiken/mikiken.net
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
update_submodules:
name: Update submodules
runs-on: ubuntu-20.04
defaults:
run:
working-directory: /home/runner/work/compiler_log/
steps:
- name: Clone repository
run: |
git clone https://github.com/mikiken/mikiken.net.git
cd mikiken.net
git init
pwd
- name: Configure git
run: |
git config --global user.name "mikiken"
git config --global user.email "[email protected]"
- name: Update submodules
id: update
run: git submodule update --remote --recursive
- name: Add and commit files
run: |
git add .
git commit -m "Update submodule via github-actions"
- name: Push changes
run : git push origin main