diff --git a/.github/workflows/create-theme.yml b/.github/workflows/create-theme.yml index 7fda6255..3ccff648 100644 --- a/.github/workflows/create-theme.yml +++ b/.github/workflows/create-theme.yml @@ -32,12 +32,12 @@ jobs: - name: Export parsed payload into variables id: export run: | - export THEME_NAME='${{ fromJson(steps.parse.outputs.payload)['Name'] }}' - export THEME_DESCRIPTION='${{ fromJson(steps.parse.outputs.payload)['Description'] }}' - export THEME_HOMEPAGE='${{ fromJson(steps.parse.outputs.payload)['Homepage'] }}' - export THEME_STYLES='${{ fromJson(steps.parse.outputs.payload)['Theme Styles'] }}' - export THEME_README='${{ fromJson(steps.parse.outputs.payload)['Readme'] }}' - export THEME_AUTHOR='${{ github.actor }}' + echo "THEME_NAME='${{ fromJson(steps.parse.outputs.payload)['Name'] }}'" >> $GITHUB_ENV + echo "THEME_DESCRIPTION='${{ fromJson(steps.parse.outputs.payload)['Description'] }}'" >> $GITHUB_ENV + echo "THEME_HOMEPAGE='${{ fromJson(steps.parse.outputs.payload)['Homepage'] }}'" >> $GITHUB_ENV + echo "THEME_STYLES='${{ fromJson(steps.parse.outputs.payload)['Theme Styles'] }}'" >> $GITHUB_ENV + echo "THEME_README='${{ fromJson(steps.parse.outputs.payload)['Readme'] }}'" >> $GITHUB_ENV + echo "THEME_AUTHOR='${{ github.actor }}'" >> $GITHUB_ENV - name: Setup Git run: | @@ -57,7 +57,7 @@ jobs: --styles "${THEME_STYLES}" \ --readme "${THEME_README}" \ --author "${THEME_AUTHOR}" 2> error.log - export CREATION_OUTPUT=$(cat error.log) + echo "CREATION_OUTPUT=$(cat error.log)" >> $GITHUB_ENV - name: Show error message if: failure() diff --git a/scripts/submit-theme.py b/scripts/submit-theme.py index 4b20348d..ee1b0ffd 100644 --- a/scripts/submit-theme.py +++ b/scripts/submit-theme.py @@ -32,6 +32,16 @@ def main(): theme_id = create_theme_id() + print(""" +Welcome to the Zen Browser Theme Store! + +Please review the information below before submitting your theme. Also... Why are you here? + +This action is only for theme reviewers. If you are a theme developer, please use the theme store. + +Just joking, you can do whatever you want. You're the boss. + """) + theme = { 'id': theme_id, 'name': name,