diff --git a/.gitea/workflows/release-nightly.yml b/.gitea/workflows/release-nightly.yml
index 149658b..3f86de6 100644
--- a/.gitea/workflows/release-nightly.yml
+++ b/.gitea/workflows/release-nightly.yml
@@ -15,7 +15,14 @@ jobs:
       - uses: actions/setup-go@v3
         with:
           go-version: '>=1.20.1'
-      - uses: https://github.com/goreleaser/goreleaser-action@v4
+      - name:
+        run: |
+          echo "[default]" > ~/.aws/credentials
+          echo "aws_access_key_id = ${{ secrets.AWS_ACCESS_KEY_ID }}" >> ~/.aws/credentials
+          echo "aws_secret_access_key = ${{ secrets.AWS_SECRET_ACCESS_KEY }}" >> ~/.aws/credentials
+
+      - name: goreleaser
+        uses: https://github.com/goreleaser/goreleaser-action@v4
         with:
             distribution: goreleaser-pro
             version: latest