Skip to content

Commit

Permalink
ci: create dotenv
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaellevissa committed Jun 13, 2024
1 parent 1dc80b9 commit c49f5e2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,17 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}

uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- run: npm install
- name: Installing Dependencies
run: npm install

- name: Create dotenv
run: echo ${{ env.secrets }} > .env

- run: npm run test

build:
Expand All @@ -45,6 +51,9 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Create dotenv
run: echo ${{ env.secrets }} > .env

- name: Build image api
run: docker build -t ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} .

Expand Down

0 comments on commit c49f5e2

Please sign in to comment.