update
This commit is contained in:
@@ -16,17 +16,13 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Setup credentials to access private repositories
|
- name: Setup credentials to access private repositories
|
||||||
run: git config --global url.https://${{ secrets.API_TOKEN_GITHUB }}@github.com/.insteadOf https://github.com/
|
run: git config --global url.https://${{ secrets.API_TOKEN_GITHUB }}@github.com/.insteadOf https://github.com/
|
||||||
- name: Push readme to another repository
|
- uses: sator-imaging/Copy-to-Another-Repository@v1
|
||||||
uses: nkoppel/push-files-to-another-repository@v1.1.3
|
|
||||||
env:
|
|
||||||
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
|
|
||||||
with:
|
with:
|
||||||
source-files: 'DOC.md'
|
# required parameters
|
||||||
destination-username: 'dutchie032'
|
target-filepath: 'DOC.md' # file path to copy
|
||||||
destination-repository: 'dutchie032.github.io '
|
output-branch: 'main' # branch name to create pull request
|
||||||
destination-directory: 'Spearhead'
|
output-repo: 'dutchie032/dutchie032.github.io'
|
||||||
commit-email: 'timrorije@gmail.com'
|
output-directory: "Spearhead"
|
||||||
commit-username: 'dutchie032'
|
git-token: ${{ secrets.API_TOKEN_GITHUB }}
|
||||||
destination-branch: 'main'
|
git-name: "github-actions[bot]" # your name can be set by ${{ github.actor }}
|
||||||
|
git-email: 'github-actions[bot]@users.noreply.github.com' # associated user icon is shown in commit page
|
||||||
|
|
||||||
+5
-1
@@ -7,7 +7,11 @@ def CreateReadme():
|
|||||||
print("TODO")
|
print("TODO")
|
||||||
|
|
||||||
def compileClasses(root):
|
def compileClasses(root):
|
||||||
for subFolder in [ "", ""]:
|
for subFolder in [ "capClasses", "stageClasses"]:
|
||||||
|
path = os.path.join(root, subFolder)
|
||||||
|
for name in glob.glob(f"{path}/*.lua"):
|
||||||
|
with open(path, 'r') as file:
|
||||||
|
|
||||||
|
|
||||||
def compile(root, target):
|
def compile(root, target):
|
||||||
compiled = ""
|
compiled = ""
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
--1
|
|
||||||
|
|
||||||
--- DEFAULT Values
|
--- DEFAULT Values
|
||||||
if Spearhead == nil then Spearhead = {} end
|
if Spearhead == nil then Spearhead = {} end
|
||||||
|
|||||||
Reference in New Issue
Block a user