Skip to content

Commit f61250d

Browse files
authored
Merge pull request #120 from oslokommune/pypi-upload-1password
Switch to 1Password for publishing credentials
2 parents b701bbf + 7c87331 commit f61250d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@ build:
4141

4242
.PHONY: publish-module
4343
publish-module:
44-
username=$$(gopass show dataplatform/websites/pypi.org/origo-dataplatform username) &&\
45-
password=$$(gopass show --password dataplatform/websites/pypi.org/origo-dataplatform) &&\
44+
username=$$(op read op://Dataspeilet/pypi-upload-token/username) &&\
45+
password=$$(op read op://Dataspeilet/pypi-upload-token/credential) &&\
4646
python -m twine upload -u $$username -p $$password dist/*

0 commit comments

Comments
 (0)