# Infisical secrets are not injected into github actions

**URL:** <https://community.infisical.com/t/infisical-secrets-are-not-injected-into-github-actions/141>\
**Category:** Secrets Management\
**Tags:** cert-management\
**Created:** [November 7, 2026, 1:15am UTC](https://community.infisical.com/t/infisical-secrets-are-not-injected-into-github-actions/141 "2026-11-07T01:15:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![om4rAb](https://yyz2.discourse-cdn.com/flex048/user_avatar/community.infisical.com/om4rab/32/183_2.png) [@om4rAb](https://community.infisical.com/u/om4rAb)\
**Post date:** [November 7, 2026, 1:15am UTC](https://community.infisical.com/t/infisical-secrets-are-not-injected-into-github-actions/141/1 "2026-11-07T01:15:48Z")

</div>

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

```yaml

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

```

 ![image](https://canada1.discourse-cdn.com/flex048/uploads/infisical1/original/1X/dda088aa9f656edbcc5dc1d1dfe46f1a3a3599d0.png)
