Skip to content

Commit

Permalink
Update docs and pipeline name substitution based on env
Browse files Browse the repository at this point in the history
  • Loading branch information
snigdhasjg committed Nov 24, 2023
1 parent eac681f commit d049983
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
needs: tagging
if: ${{ inputs.test_publish || needs.tagging.outputs.tag_pre_exist == 'false' }}
runs-on: ubuntu-latest
name: Publish
name: "${{ inputs.test_publish && 'Test ' || '' }}Publish"
environment:
name: pypi
url: "https://${{ inputs.test_publish && 'test.' || '' }}pypi.org/project/aws-fusion"
Expand All @@ -91,12 +91,7 @@ jobs:
run: python setup.py sdist bdist_wheel

- name: Publish release distributions to PyPI
if: ${{ ! inputs.test_publish }}
uses: pypa/gh-action-pypi-publish@release/v1

- name: Publish release distributions to Test PyPI
if: ${{ inputs.test_publish }}
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
repository-url: ${{ inputs.test_publish && 'https://test.pypi.org/legacy/' || '' }}

13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,19 @@ To invoke the cli, there are 2 option
1. Directly use `aws-fusion` command
2. Use it via [aws cli alias](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-alias.html) with `aws fusion`

## Commands
- [init](#usage-of-init)
- [open-browser](#usage-of-open-browser)
- [store-iam-user-credentials](#usage-of-store-iam-user-credentials)
- [get-iam-user-credentials](#usage-of-get-iam-user-credentials)
- [generate-okta-device-auth-credentials](#usage-of-generate-okta-device-auth-credentials)

---
## Usage of `init`
> Try `aws-fusion init --help` for detailed parameter
Initilize fusion app with creation of aws fusion alias

---
## Usage of `open-browser`
> Try `aws-fusion open-browser --help` for detailed parameter
Expand Down
2 changes: 1 addition & 1 deletion aws_fusion/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.3'
__version__ = '1.3.1'

0 comments on commit d049983

Please sign in to comment.