We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5283f37 commit 3aa2aa7Copy full SHA for 3aa2aa7
1 file changed
.github/workflows/deploy.yml
@@ -80,9 +80,6 @@ jobs:
80
host: ${{ secrets.SERVER_IP }}
81
username: ${{ secrets.SERVER_USER }}
82
key: ${{ secrets.SERVER_SSH_KEY }}
83
- env:
84
- PACKAGE_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
85
- USERNAME: ${{ github.actor }}
86
script: |
87
# Determine environment
88
if [[ "${GITHUB_REF}" == refs/tags/* ]]; then
@@ -97,7 +94,7 @@ jobs:
97
94
echo "🧩 Deploying DEVELOPMENT"
98
95
fi
99
96
100
- echo "$PACKAGE_TOKEN" | docker login ghcr.io -u $USERNAME --password-stdin
+ echo "${{ secrets.PACKAGE_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
101
102
# Pull latest image
103
docker pull ghcr.io/050soft/musicbot:$TAG
0 commit comments