diff --git a/.github/workflows/init-repository.yml b/.github/workflows/init-repository.yml deleted file mode 100644 index 8a9668b..0000000 --- a/.github/workflows/init-repository.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: Init repository - -on: - push: - branches: - - master - -jobs: - init-repository: - name: Prepare repo after generation - runs-on: ubuntu-latest - if: startsWith(github.event.head_commit.message, 'Initial commit') - - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Remove LICENSE and generate app ID - run: | - git config --local user.email 'action@github.com' - git config --local user.name 'GitHub Action' - rm ./LICENSE - rm ./.github/workflows/init-repository.yml - sed -i "s/9000/$(( 100000 + RANDOM % 800000 ))/g" ./functions/ecom.config.js - git commit -am "chore(init): remove default license and generate \`app_id\` [skip ci]" - - - name: Push changes - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: master diff --git a/LICENSE b/LICENSE deleted file mode 100644 index 0d01174..0000000 --- a/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2019 E-Com Club - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/functions/ecom.config.js b/functions/ecom.config.js index 461a9ab..d55c440 100644 --- a/functions/ecom.config.js +++ b/functions/ecom.config.js @@ -6,7 +6,7 @@ */ const app = { - app_id: 9000, + app_id: 119988, title: 'My Awesome E-Com Plus App', slug: 'my-awesome-app', type: 'external',