mirror of
https://github.com/spacedriveapp/spacedrive
synced 2024-07-07 04:23:29 +00:00
ci: add org readme updater workflow
This commit is contained in:
parent
f2e1f72811
commit
97c76cd2bf
26
.github/workflows/org-readme.yaml
vendored
Normal file
26
.github/workflows/org-readme.yaml
vendored
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
name: Update Org README
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update-readme:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: Pushes test file
|
||||||
|
uses: dmnemec/copy_file_to_another_repo_action@main
|
||||||
|
env:
|
||||||
|
API_TOKEN_GITHUB: ${{ secrets.REPOS_PAT }}
|
||||||
|
with:
|
||||||
|
source_file: 'README.md'
|
||||||
|
destination_repo: 'spacedrive/.github'
|
||||||
|
destination_folder: '.'
|
||||||
|
user_email: 'actions@spacedrive.app'
|
||||||
|
user_name: 'actions'
|
||||||
|
commit_message: 'Update README'
|
Loading…
Reference in a new issue