PACKAGE
This commit is contained in:
parent
9966d52a8a
commit
eb1ee2c2cb
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@ -77,7 +77,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: "LaTeX logs"
|
name: "LaTeX logs"
|
||||||
path: "**/*.log"
|
path: "**/*.log"
|
||||||
retention-days: 1
|
retention-days: 14
|
||||||
|
|
||||||
# Upload build output
|
# Upload build output
|
||||||
- name: "Save output"
|
- name: "Save output"
|
||||||
@ -85,13 +85,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
name: "Build output"
|
name: "Build output"
|
||||||
path: "output/*"
|
path: "output/*"
|
||||||
retention-days: 10
|
retention-days: 7
|
||||||
|
|
||||||
- name: "Publish package"
|
- name: "Publish package"
|
||||||
run: |
|
run: |
|
||||||
PUBLISH_USER="${{ secrets.PUBLISH_USER }}" \
|
PUBLISH_USER="${{ secrets.PUBLISH_USER }}" \
|
||||||
PUBLISH_KEY="${{ secrets.PUBLISH_KEY }}" \
|
PUBLISH_KEY="${{ secrets.PUBLISH_KEY }}" \
|
||||||
VERSION="${{ github.sha }}" \
|
VERSION="${{ github.sha }}" \
|
||||||
|
PACKAGE="${{ secrets.PACKAGE }}" \
|
||||||
python tools/build/publish.py
|
python tools/build/publish.py
|
||||||
|
|
||||||
|
|
||||||
|
@ -8,7 +8,7 @@ from requests.auth import HTTPBasicAuth
|
|||||||
|
|
||||||
URL="https://git.betalupi.com"
|
URL="https://git.betalupi.com"
|
||||||
USER = os.environ['USER']
|
USER = os.environ['USER']
|
||||||
PACKAGE = "ormc-handouts"
|
PACKAGE = os.environ['PACKAGE']
|
||||||
VERSION = os.environ['VERSION']
|
VERSION = os.environ['VERSION']
|
||||||
AUTH = HTTPBasicAuth(USER, os.environ['PUBLISH_KEY'])
|
AUTH = HTTPBasicAuth(USER, os.environ['PUBLISH_KEY'])
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user