Skip to content

Commit

Permalink
added env to action.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
KnockOutEZ committed Mar 1, 2024
1 parent 887d4ea commit f771347
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
5 changes: 5 additions & 0 deletions .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
name: 'Setup'
description: "Setups Node.js and yarn to run GitHub Actions' jobs."
env:
BASE_URL: ${{ secrets.BASE_URL }}
USER_NAME: ${{ secrets.USER_NAME }}
USER_PASSWORD: ${{ secrets.USER_PASSWORD }}
DATABASE_NAME: ${{ secrets.DATABASE_NAME }}
runs:
using: 'composite'
steps:
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/continuous-integrations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,4 @@ jobs:
uses: './.github/actions/setup'

- name: 'Execute the build script'
run: 'yarn run build'

env:
BASE_URL: ${{ secrets.BASE_URL }}
USER_NAME: ${{ secrets.USER_NAME }}
USER_PASSWORD: ${{ secrets.USER_PASSWORD }}
DATABASE_NAME: ${{ secrets.DATABASE_NAME }}
run: 'yarn run build'

0 comments on commit f771347

Please sign in to comment.