-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove splat * git subrepo clone git@github.com:ethteck/splat.git tools/splat subrepo: subdir: "tools/splat" merged: "3e9e7cb" upstream: origin: "git@github.com:ethteck/splat.git" branch: "main" commit: "3e9e7cb" git-subrepo: version: "0.4.6" origin: "git@github.com:ingydotnet/git-subrepo.git" commit: "110b9eb" * makerom cleanup * FULL_DISASM
- Loading branch information
Showing
55 changed files
with
3,246 additions
and
363 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
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,54 @@ | ||
# Based on script from https://github.com/orgs/community/discussions/25929 | ||
|
||
name: Publish docs to Wiki | ||
|
||
# Trigger this action only if there are changes pushed to the docs/** directory under the main branch | ||
on: | ||
push: | ||
paths: | ||
- docs/** # This includes all sub folders | ||
branches: | ||
- main # This can be changed to any branch of your preference | ||
|
||
jobs: | ||
publish_docs_to_wiki: | ||
name: Publish docs to Wiki | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Clone the wiki repository | ||
- name: Checkout Wiki repository | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: ${{ github.event.repository.owner.name }}/${{ github.event.repository.name }}.wiki | ||
path: wiki_repo | ||
|
||
# Clone the main repository | ||
- name: Checkout main repository | ||
uses: actions/checkout@v4 | ||
with: | ||
repository: ${{ github.event.repository.owner.name }}/${{ github.event.repository.name }} | ||
path: splat_repo | ||
|
||
- name: Get the new Wiki files | ||
run: | | ||
cd wiki_repo | ||
rm *.md | ||
cp ../splat_repo/docs/* . | ||
# `git log -1 --pretty=%aN` prints the current commit's author name | ||
# `git log -1 --pretty=%aE` prints the current commit's author mail | ||
- name: Stage new files | ||
run: | | ||
cd wiki_repo | ||
git config user.name $(git log -1 --pretty=%aN) | ||
git config user.email $(git log -1 --pretty=%aE) | ||
git add . | ||
# `git diff-index --quiet HEAD` returns non-zero if there are any changes. | ||
# This allows to avoid making a commit/push if there are no changes to the Wiki files | ||
|
||
# `git log -1 --pretty=%B` prints the current commit's message | ||
- name: Push new files to the Wiki | ||
run: | | ||
cd wiki_repo | ||
git diff-index --quiet HEAD || (git commit -m "$(git log -1 --pretty=%B)" && git push) |
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
; DO NOT EDIT (unless you know what you are doing) | ||
; | ||
; This subdirectory is a git "subrepo", and this file is maintained by the | ||
; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme | ||
; git-subrepo command. See https://github.com/ingydotnet/git-subrepo#readme | ||
; | ||
[subrepo] | ||
remote = https://github.com/ethteck/splat.git | ||
branch = master | ||
commit = 172022a8141f4e25b20c61885bc94c94c06062b0 | ||
parent = 73c802a3bb33f347e761786c5b40b7bf6f272582 | ||
remote = git@github.com:ethteck/splat.git | ||
branch = main | ||
commit = 3e9e7cb7342f1b53084f4faffe0ed05e4ccf577c | ||
parent = 8d6aac5bdfa6573d40a8d11dfe94448d64f75d46 | ||
method = merge | ||
cmdver = 0.4.6 |
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
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
Oops, something went wrong.