mirror of
https://github.com/ReVanced/revanced-documentation.git
synced 2026-01-19 01:03:57 +00:00
feat: update-documentation workflow (#6)
This commit is contained in:
19
.github/workflows/update-documentation.yml
vendored
Normal file
19
.github/workflows/update-documentation.yml
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
name: Update documentation
|
||||
|
||||
on:
|
||||
repository_dispatch
|
||||
jobs:
|
||||
build:
|
||||
name: Update documentation
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Clone repository
|
||||
uses: actions/checkout@v3
|
||||
- name: Update submodule
|
||||
run: git submodule update --recursive --remote ${{ github.event.repository.full_name }}
|
||||
- name: Commit changes
|
||||
uses: EndBug/add-and-commit@v9
|
||||
with:
|
||||
message: 'chore: update docs for ${{ github.event.repository.full_name }} to ${{github.event.client_payload.ref}}'
|
||||
default_author: ReVanced
|
||||
Reference in New Issue
Block a user