Merge remote-tracking branch 'origin/master' #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Pypi Artifacts | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- dockerfile_sec/* | |
jobs: | |
deploy: | |
name: Publish in Pypi | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install dependencies | |
run: | | |
python3 -m pip install -U pip | |
- name: Make package | |
run: | | |
python3 setup.py sdist | |
- name: Publish Package Manager PyPI | |
uses: pypa/gh-action-pypi-publish@release/v1 | |
with: | |
user: __token__ | |
password: ${{ secrets.pypi_password }} |