|
25 | 25 | name: QA Suite (fix + rules + smoke + lint + typecheck + unit + e2e) |
26 | 26 | runs-on: ubuntu-latest |
27 | 27 | env: |
28 | | - ENCORE_AUTH_TOKEN: ${{ secrets.ENCORE_AUTH_TOKEN }} |
| 28 | + ENCORE_AUTH_KEY: ${{ secrets.ENCORE_AUTH_KEY }} |
29 | 29 |
|
30 | 30 | steps: |
31 | 31 | - name: Checkout code |
@@ -53,14 +53,18 @@ jobs: |
53 | 53 | |
54 | 54 | - name: Authenticate with Encore Cloud |
55 | 55 | run: | |
56 | | - if [ -z "$ENCORE_AUTH_TOKEN" ]; then |
57 | | - echo "⚠️ WARNING: ENCORE_AUTH_TOKEN not set in GitHub Secrets" |
| 56 | + if [ -z "$ENCORE_AUTH_KEY" ]; then |
| 57 | + echo "⚠️ WARNING: ENCORE_AUTH_KEY not set in GitHub Secrets" |
58 | 58 | echo " Encore builds requiring secrets will fail" |
59 | | - echo " To fix: Add your Encore auth token as a GitHub Secret named 'ENCORE_AUTH_TOKEN'" |
| 59 | + echo " To fix:" |
| 60 | + echo " 1. Go to https://app.encore.cloud/screengraph-ovzi" |
| 61 | + echo " 2. Navigate to: App Settings → Auth Keys" |
| 62 | + echo " 3. Create new auth key" |
| 63 | + echo " 4. Add as GitHub Secret named 'ENCORE_AUTH_KEY'" |
60 | 64 | exit 1 |
61 | 65 | else |
62 | 66 | echo "🔐 Authenticating with Encore Cloud..." |
63 | | - encore auth login --auth-key "$ENCORE_AUTH_TOKEN" |
| 67 | + encore auth login --auth-key "$ENCORE_AUTH_KEY" |
64 | 68 | echo "✅ Encore authentication successful" |
65 | 69 | fi |
66 | 70 | |
@@ -116,13 +120,14 @@ jobs: |
116 | 120 | # Environment: |
117 | 121 | # - Uses standard ports from .env (4000 backend, 5173 frontend) |
118 | 122 | # - In-memory database for tests |
119 | | -# - ENCORE_AUTH_TOKEN: GitHub Secret required for accessing Encore Cloud secrets |
| 123 | +# - ENCORE_AUTH_KEY: GitHub Secret (app-specific auth key) for Encore Cloud authentication |
120 | 124 | # |
121 | 125 | # GitHub Secrets Setup: |
122 | | -# 1. Go to: Settings → Secrets and variables → Actions |
123 | | -# 2. Create new secret: ENCORE_AUTH_TOKEN |
124 | | -# 3. Get token from: encore auth token (run locally) |
125 | | -# 4. Paste into GitHub Secrets |
| 126 | +# 1. Go to: https://app.encore.cloud/screengraph-ovzi → App Settings → Auth Keys |
| 127 | +# 2. Create new auth key (NOT `encore auth token` - that's different!) |
| 128 | +# 3. Go to: GitHub repo → Settings → Secrets and variables → Actions |
| 129 | +# 4. Create new secret: ENCORE_AUTH_KEY |
| 130 | +# 5. Paste the auth key from step 2 |
126 | 131 | # |
127 | 132 | # Testing before activation: |
128 | 133 | # 1. Create feature branch |
|
0 commit comments