Skip to content

Commit

Permalink
#14: Provide variables to the release job.
Browse files Browse the repository at this point in the history
  • Loading branch information
annoviko committed Oct 7, 2021
1 parent b0b36d8 commit 3cae6f4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release-httpctrl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,11 @@ jobs:
uses: actions/checkout@v2

- name: Run multi-line script
env:
HTTPCTRL_USERNAME: ${{ secrets.HTTPCTRL_USERNAME }}
HTTPCTRL_PASSWORD: ${{ secrets.HTTPCTRL_PASSWORD }}
TWINE_USERNAME: ${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD: ${{ secrets.TWINE_PASSWORD }}
shell: bash
run: ci/github-ci-release.sh

5 changes: 0 additions & 5 deletions ci/github-ci-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ PATH_ROOT=`readlink -f ..`
PATH_REPO_CURRENT=`readlink -f .`
PATH_SOURCE=`readlink -f src`

HTTPCTRL_USERNAME=${{ secrets.HTTPCTRL_USERNAME }}
HTTPCTRL_PASSWORD=${{ secrets.HTTPCTRL_PASSWORD }}
TWINE_USERNAME=${{ secrets.TWINE_USERNAME }}
TWINE_PASSWORD=${{ secrets.TWINE_PASSWORD }}

# packages to generate documentation
echo "Install packages for release."
pip3 install robotframework docutils pygments twine
Expand Down

0 comments on commit 3cae6f4

Please sign in to comment.