Skip to content

Update deployment.yaml #9

Update deployment.yaml

Update deployment.yaml #9

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
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
repository: mikiken/mikiken.net
submodules: recursive
- name: Configure git
run: |
git config --local user.name "mikiken"
git config --local 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
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.ACTIONS_DEPLOY_KEY }}
branch: main