Skip to content

Commit

Permalink
Update README and publish to PyPI
Browse files Browse the repository at this point in the history
  • Loading branch information
dinvlad committed Sep 2, 2020
1 parent 557d65e commit 9afff0b
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 1 deletion.
29 changes: 29 additions & 0 deletions .github/workflows/publish-to-test-pypi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Publish Python 🐍 distributions 📦 to PyPI and TestPyPI

on:
release:
types:
- published

jobs:
publish:
name: Build and publish to PyPI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master

- name: Set up Python 3
uses: actions/setup-python@v2
with:
python-version: 3.x

- name: Build distribution 📦
run: |
pip3 install wheel
python3 setup.py sdist bdist_wheel
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
password: ${{ secrets.PYPI_PASSWORD }}
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,19 @@
# find-gcp-keys
Find and report valid Google Service Account keys on a filesystem

This tool finds and prints valid Google Service Account keys on your filesystem.
This is useful to keep track of any unexpired/non-disabled keys you may have.

It does NOT require any special permissions,
or even to be authenticated with Google Cloud SDK.

## Requirements

Python 3.7+

## Usage

```
pip3 install find-gcp-keys
find_gcp_keys <dir_path>
```

0 comments on commit 9afff0b

Please sign in to comment.