Hi guys, I have run into some issue trying to inject secrects into github actions
I have followed what the doc says but each action fails please see the first image
iv been trying for like 1 hours but im not able to fix it
I will even share my ci.yml if this could help find a solution
**
and my second question is why isn’t after I migrated nextjs to vinext, every secret key that isn’t prefixed with NEXT_PUBLIC is always undefined
**
and just wanna say that, this is my first time using infisical and I really liked it
Thank you in advance, sorry if I haven’t picked the right topic or tags, this totally new to me
name: ci
on:
push:
branches: [main]
permissions:
id-token: write
contents: read
jobs:
build-and-deploy:
runs-on: ubuntu-26.04
steps:
- name: Checkout repository
uses: actions/checkout@v7
- name: Set up Node.js
uses: actions/setup-node@v7
with:
node-version: 24
cache: npm
- name: Install dependencies
run: npm ci
- name: Fetch secrets from Infisical
uses: Infisical/secrets-action@v1.0.16
with:
method: oidc
identity-id: f1720931-8e07-TEST-b30TESTa57597
project-slug: hadana-store
env-slug: prod
- name: Run Jest tests
run: npm run test:ci
- name: Build Vinext app
run: npm run build:vinext
- name: Deploy to cf
run: npm run deploy:vinext -- --skip-build
