Update .gitea/workflows/cicd.yml
All checks were successful
Testing Infisical / build (push) Successful in 5s
All checks were successful
Testing Infisical / build (push) Successful in 5s
This commit is contained in:
@@ -3,7 +3,9 @@ name: Testing Infisical
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- development
|
||||
- staging
|
||||
- production
|
||||
|
||||
jobs:
|
||||
build:
|
||||
@@ -12,6 +14,7 @@ jobs:
|
||||
REGISTRY: registry.staging
|
||||
IMAGE_NAME: ${{ gitea.repository }}
|
||||
IMAGE_TAG: ${{ gitea.sha }}
|
||||
BRANCH: ${{ gitea.ref_name }}
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
@@ -22,6 +25,6 @@ jobs:
|
||||
INFISICAL_TOKEN: "st.d618fb82-0118-4b34-ba0a-69214b7186b8.9dfd304c29151cbfd3b67c26cfcd149f.c0e0edc796f1d15a378d5245eacdf050"
|
||||
run: |
|
||||
echo "Fetching secrets from Infisical..."
|
||||
infisical export --env=staging > .env
|
||||
infisical export --env=$BRANCH > .env
|
||||
ls -alth .
|
||||
cat .env
|
||||
Reference in New Issue
Block a user