From b3c8f58491007e3e8e6a4e266e1dacf90bcf02cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Bournhonesque?= Date: Tue, 12 Nov 2024 11:55:11 +0100 Subject: [PATCH] fix: fix deployment & push dataset to Hugging Face (#3) * fix: fix wrong variable name in container-deploy.yml * chore: upload dataset to Hugging Face --- .github/workflows/container-deploy.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/container-deploy.yml b/.github/workflows/container-deploy.yml index 1cabab7..7132ffe 100644 --- a/.github/workflows/container-deploy.yml +++ b/.github/workflows/container-deploy.yml @@ -36,7 +36,7 @@ jobs: run: | # configurations echo "ENVIRONMENT=prod" >> $GITHUB_ENV - echo "ENABLE_HF_PUSH=0" >> $GITHUB_ENV + echo "ENABLE_HF_PUSH=1" >> $GITHUB_ENV echo "ENABLE_S3_PUSH=0" >> $GITHUB_ENV # deploy target echo "SSH_PROXY_HOST=45.147.209.254" >> $GITHUB_ENV @@ -126,8 +126,8 @@ jobs: # Secrets echo "SENTRY_DSN=${{ secrets.SENTRY_DSN }}" >> .env echo "HF_TOKEN=${{ secrets.HF_TOKEN }}" >> .env - echo "HF_TOKEN=${{ secrets.AWS_ACCESS_KEY }}" >> .env - echo "HF_TOKEN=${{ secrets.AWS_SECRET_KEY }}" >> .env + echo "AWS_ACCESS_KEY=${{ secrets.AWS_ACCESS_KEY }}" >> .env + echo "AWS_SECRET_KEY=${{ secrets.AWS_SECRET_KEY }}" >> .env - name: Create Docker volumes uses: appleboy/ssh-action@master