-
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: Create ci.yml * Update README with new data * Discard changes to README.md * Update README with new data --------- Co-authored-by: kRHYME7 <[email protected]> Co-authored-by: github-actions <[email protected]>
- Loading branch information
1 parent
65e2ef9
commit 913f7ce
Showing
3 changed files
with
43 additions
and
52 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,42 @@ | ||
name: Update README on Push | ||
|
||
on: | ||
push: | ||
branches: | ||
- hyde-gallery | ||
|
||
jobs: | ||
update-readme: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: "3.x" # Use the latest Python version | ||
|
||
|
||
- name: Pull the latest changes from remote main branch | ||
run: | | ||
git pull --no-rebase | ||
- name: Run Python script to update README | ||
run: | | ||
python generate_readme.py | ||
- name: Commit changes | ||
run: | | ||
# Configure git user info | ||
git config --global user.name "github-actions" | ||
git config --global user.email "[email protected]" | ||
# Add and commit the changes to README.md | ||
git add README.md | ||
git commit -m "Update README with new data" | ||
- name: Push changes to remote repository | ||
run: | | ||
git push |
This file was deleted.
Oops, something went wrong.
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