Skip to content

Commit 3aa2aa7

Browse files
committed
Revert "Update deploy.yml"
This reverts commit 5283f37.
1 parent 5283f37 commit 3aa2aa7

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,6 @@ jobs:
8080
host: ${{ secrets.SERVER_IP }}
8181
username: ${{ secrets.SERVER_USER }}
8282
key: ${{ secrets.SERVER_SSH_KEY }}
83-
env:
84-
PACKAGE_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
85-
USERNAME: ${{ github.actor }}
8683
script: |
8784
# Determine environment
8885
if [[ "${GITHUB_REF}" == refs/tags/* ]]; then
@@ -97,7 +94,7 @@ jobs:
9794
echo "🧩 Deploying DEVELOPMENT"
9895
fi
9996
100-
echo "$PACKAGE_TOKEN" | docker login ghcr.io -u $USERNAME --password-stdin
97+
echo "${{ secrets.PACKAGE_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
10198
10299
# Pull latest image
103100
docker pull ghcr.io/050soft/musicbot:$TAG

0 commit comments

Comments
 (0)