Move to public repo
All checks were successful
Build and Publish / build (push) Successful in 46s
Build and Publish / publish (push) Successful in 5s

This commit is contained in:
2024-12-17 16:02:58 -05:00
parent ae094a566c
commit 7431eb94f1
16 changed files with 23 additions and 25 deletions

View File

@ -7,11 +7,8 @@ env:
PACKAGE_NAME: eia-api-go
BINARY_PATH: bin
BINARY_NAME: eia-client
GO_MOD_PATH: gitea.libretechconsulting.com/50w/eia-api-go
GO_MOD_PATH: gitea.libretechconsulting.com/rmcguire/eia-api-go
GO_GIT_HOST: gitea.libretechconsulting.com
# DOCKER_HOST: "unix:///var/run/user/1000/docker.sock"
# DOCKER_ORG: "rmcguire"
# DOCKER_LATEST: "latest"
jobs:
build:
@ -32,6 +29,7 @@ jobs:
env:
API_TOKEN: ${{ secrets.API_TOKEN }} # Replace with a Gitea token stored in repository secrets
run: |
echo "Pushing ./$BINARY_PATH/$BINARY_NAME to ${GITHUB_SERVER_URL} packages for ${GITHUB_REPOSITORY_OWNER} as ${PACKAGE_NAME}@${{ github.ref_name }}"
if [ -f ./${BINARY_PATH}/${BINARY_NAME} ]; then
curl -X PUT \
-H "Authorization: token ${API_TOKEN}" \