diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4415d9..6a54385 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,7 +77,7 @@ jobs: with: name: "LaTeX logs" path: "**/*.log" - retention-days: 1 + retention-days: 14 # Upload build output - name: "Save output" @@ -85,13 +85,14 @@ jobs: with: name: "Build output" path: "output/*" - retention-days: 10 + retention-days: 7 - name: "Publish package" run: | PUBLISH_USER="${{ secrets.PUBLISH_USER }}" \ PUBLISH_KEY="${{ secrets.PUBLISH_KEY }}" \ VERSION="${{ github.sha }}" \ + PACKAGE="${{ secrets.PACKAGE }}" \ python tools/build/publish.py diff --git a/tools/build/publish.py b/tools/build/publish.py index dcfb0c1..7d8adcf 100644 --- a/tools/build/publish.py +++ b/tools/build/publish.py @@ -8,7 +8,7 @@ from requests.auth import HTTPBasicAuth URL="https://git.betalupi.com" USER = os.environ['USER'] -PACKAGE = "ormc-handouts" +PACKAGE = os.environ['PACKAGE'] VERSION = os.environ['VERSION'] AUTH = HTTPBasicAuth(USER, os.environ['PUBLISH_KEY'])