fix: dumbseve credentials is 4th parameter
This commit is contained in:
parent
a6e1514a9a
commit
83035ae0e0
2 changed files with 3 additions and 4 deletions
2
.github/workflows/linux.yml
vendored
2
.github/workflows/linux.yml
vendored
|
@ -66,7 +66,7 @@ jobs:
|
||||||
|
|
||||||
- name: publish bins
|
- name: publish bins
|
||||||
if: (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'realaravinth/librepages'
|
if: (github.ref == 'refs/heads/master' || github.event_name == 'push') && github.repository == 'realaravinth/librepages'
|
||||||
run: ./scripts/publish.sh publish master latest $DUMBSERVE_PASSWORD
|
run: ./scripts/bin-publish.sh publish master latest $DUMBSERVE_PASSWORD
|
||||||
env:
|
env:
|
||||||
DUMBSERVE_PASSWORD: ${{ secrets.DUMBSERVE_PASSWORD }}
|
DUMBSERVE_PASSWORD: ${{ secrets.DUMBSERVE_PASSWORD }}
|
||||||
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
|
GPG_PASSWORD: ${{ secrets.GPG_PASSWORD }}
|
||||||
|
|
|
@ -17,13 +17,12 @@
|
||||||
# publish.sh: grab bin from docker container, pack, sign and upload
|
# publish.sh: grab bin from docker container, pack, sign and upload
|
||||||
# $2: binary version
|
# $2: binary version
|
||||||
# $3: Docker img tag
|
# $3: Docker img tag
|
||||||
# $4: dumbserve username
|
# $4: dumbserve password
|
||||||
# $5: dumbserve password
|
|
||||||
|
|
||||||
set -xEeuo pipefail
|
set -xEeuo pipefail
|
||||||
|
|
||||||
DUMBSERVE_USERNAME=librepages
|
DUMBSERVE_USERNAME=librepages
|
||||||
DUMBSERVE_PASSWORD=$5
|
DUMBSERVE_PASSWORD=$4
|
||||||
DUMBSERVE_HOST="https://$DUMBSERVE_USERNAME:$DUMBSERVE_PASSWORD@dl.librepages.org"
|
DUMBSERVE_HOST="https://$DUMBSERVE_USERNAME:$DUMBSERVE_PASSWORD@dl.librepages.org"
|
||||||
|
|
||||||
NAME=librebages
|
NAME=librebages
|
||||||
|
|
Loading…
Reference in a new issue