diff --git a/.github/workflows/pipenv-install.yml b/.github/workflows/pipenv-install.yml new file mode 100644 index 0000000..1d19011 --- /dev/null +++ b/.github/workflows/pipenv-install.yml @@ -0,0 +1,27 @@ +name: Pipenv install + +on: + workflow_dispatch: + inputs: + packages: + required: true + options: ~ + +jobs: + pipenv-install: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} + + - uses: actions/setup-python@v4 + + - run: pip install --disable-pip-version-check pipenv wheel --upgrade + - run: pipenv install ${{ inputs.options }} ${{ inputs.packages }} + + - run: git config --global user.name 'GitHub' + - run: git config --global user.email 'noreply@github.com' + - run: git commit -am "Pipenv install ${{ inputs.packages }}" + - run: git push diff --git a/.github/workflows/pipenv-lock.yml b/.github/workflows/pipenv-lock.yml new file mode 100644 index 0000000..dda8764 --- /dev/null +++ b/.github/workflows/pipenv-lock.yml @@ -0,0 +1,23 @@ +name: Pipenv lock + +on: + workflow_dispatch: ~ + +jobs: + pipenv-lock: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + with: + ssh-key: ${{ secrets.SSH_PRIVATE_KEY }} + + - uses: actions/setup-python@v4 + + - run: pip install --disable-pip-version-check pipenv wheel --upgrade + - run: pipenv lock + + - run: git config --global user.name 'GitHub' + - run: git config --global user.email 'noreply@github.com' + - run: git commit -am "Pipenv lock" + - run: git push