Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
Игорь Куприков committed Jul 14, 2023
1 parent 547ebbc commit 80aa242
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-push.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build docker image
on:
push:
branches: ["main"]
branches: ["main", "test"]

jobs:
build:
Expand Down
9 changes: 4 additions & 5 deletions injector.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/local/bin/python3
import chevron
import sys
import os


def main(files, content):
Expand All @@ -10,7 +10,6 @@ def main(files, content):


if __name__ == '__main__':
print(sys.argv)
if len(sys.argv) < 3:
raise Exception("Provide files, content input data")
main(sys.argv[1], sys.argv[2])
inject_files = os.getenv("INPUT_INJECT_FILES")
secrets = os.getenv("INPUT_SECRETS")
main(inject_files, secrets)

0 comments on commit 80aa242

Please sign in to comment.