-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
021acc2
commit 1c947fd
Showing
3 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: copy readme updates to rtd source | ||
|
||
on: | ||
push: | ||
branches: | ||
- docs # Change to your branch name if different | ||
|
||
jobs: | ||
copy-file: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Copy file | ||
run: | | ||
mkdir -p ../../docs/source/installation | ||
cp ../../../temp.text ../../docs/source/installation/temp.text | ||
# - name: Commit changes | ||
# run: | | ||
# git config --global user.name "github-actions[bot]" | ||
# git config --global user.email "github-actions[bot]@users.noreply.github.com" | ||
# git add destination_folder/your_file.txt | ||
# git commit -m "Copy file to destination folder on push" | ||
# git push | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters