mirror of
https://github.com/chylex/IntelliJ-IdeaVim.git
synced 2024-10-18 10:42:46 +02:00
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
# This workflow will build a package using Gradle and then publish it to GitHub packages when a release is created
|
|
# For more information see: https://github.com/actions/setup-java/blob/main/docs/advanced-usage.md#Publishing-using-gradle
|
|
|
|
# This workflow syncs changes from the docs folder of IdeaVim to the IdeaVim.wiki repository
|
|
|
|
name: Sync docs
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [ master ]
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Fetch origin repo
|
|
uses: actions/checkout@v3
|
|
with:
|
|
path: origin
|
|
|
|
- name: Fetch docs repo
|
|
uses: actions/checkout@v3
|
|
with:
|
|
repository: JetBrains/ideavim.wiki
|
|
path: docs
|
|
|
|
- name: Sync docs
|
|
id: update_authors
|
|
run: cp -a origin/doc/. docs
|
|
|
|
- name: Commit changes
|
|
uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
branch: master
|
|
repository: docs
|
|
commit_message: Update docs
|
|
commit_user_name: Alex Plate
|
|
commit_user_email: aleksei.plate@jetbrains.com
|
|
commit_author: Alex Plate <aleksei.plate@jetbrains.com>
|