We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a414960 commit 60cd84aCopy full SHA for 60cd84a
.github/workflows/deploy-staging.yml
@@ -15,6 +15,7 @@ env:
15
REGISTRY: ghcr.io
16
IMAGE_NAME: ghcr.io/hammertoe/yhd
17
STAGING_HOST: 89.167.73.70
18
+ GHCR_TOKEN: ${{ secrets.GHCR_TOKEN }}
19
20
jobs:
21
deploy:
@@ -30,7 +31,9 @@ jobs:
30
31
host: ${{ env.STAGING_HOST }}
32
username: matt
33
key: ${{ secrets.STAGING_SSH_KEY }}
34
+ envs: GHCR_TOKEN
35
script: |
36
+ export GHCR_TOKEN="$GHCR_TOKEN"
37
cd /opt/yuhheardem3
38
git pull origin main || echo "Git pull failed, continuing with existing scripts..."
39
./deploy.sh ${{ github.event.workflow_run.head_sha }}
0 commit comments