This commit is contained in:
Jamie Pine
2022-04-23 01:12:38 -07:00

26
.github/workflows/org-readme.yaml vendored Normal file
View 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: Update README
uses: dmnemec/copy_file_to_another_repo_action@main
env:
API_TOKEN_GITHUB: ${{ secrets.REPOS_PAT }}
with:
source_file: 'README.md'
destination_repo: 'spacedriveapp/.github'
destination_folder: 'profile'
user_email: 'actions@spacedrive.app'
user_name: 'GH Actions'
commit_message: 'Update README'