Skip to content

Commit 898906e

Browse files
committed
fix ci.yml
1 parent 06152f0 commit 898906e

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,26 @@ jobs:
66
steps:
77
- name: Checkout
88
uses: actions/checkout@v4
9+
10+
- name: Debug - Verificar CREDENTIALS
11+
run: |
12+
echo "Valor de CREDENTIALS: $CREDENTIALS"
13+
env:
14+
CREDENTIALS: ${{ secrets.CREDENTIALS }}
15+
16+
- name: Criar arquivo cypress.env.json com as credenciais
17+
run: |
18+
echo "{\"CREDENTIALS\": $CREDENTIALS}" > cypress.env.json
19+
cat cypress.env.json # Exibir o conteúdo para debug
20+
env:
21+
CREDENTIALS: ${{ secrets.CREDENTIALS }}
22+
923
- name: Cypress run
1024
uses: cypress-io/github-action@v6
25+
1126
env:
1227
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
1328
CYPRESS_AUTHORIZATION_TOKEN: ${{ secrets.AUTHORIZATION_TOKEN }}
14-
echo "{\"CREDENTIALS\": $CREDENTIALS}" > cypress.env.json
29+
CYPRESS_CREDENTIALS: ${{ secrets.CREDENTIALS }}
1530
with:
1631
command: npm run test:cloud

0 commit comments

Comments
 (0)