Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci cd yaml added #26

Merged
merged 1 commit into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 11 additions & 4 deletions .github/workflows/main.yml → .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,21 @@ jobs:
# Runs a set of commands using the runners shell
- name: Install dependencies
run: |
npm install
npm ci
echo Dependencies installed successfully!

- name: Load environment variables
uses: xom9ikk/dotenv@v2.2.0
with:
path: ./
mode: development
load-mode: strict

- name: Create new build
env:
REACT_APP_HOST_URL: ${{ secrets.REACT_APP_HOST_URL }}
REACT_APP_WEBSITE_TITLE: ${{ secrets.REACT_APP_WEBSITE_TITLE }}
REACT_APP_WEBSITE_DESCRIPTION: ${{ secrets.REACT_APP_WEBSITE_DESCRIPTION }}
REACT_APP_HOST_URL: ${{ env.REACT_APP_HOST_URL }}
REACT_APP_WEBSITE_TITLE: ${{ env.REACT_APP_WEBSITE_TITLE }}
REACT_APP_WEBSITE_DESCRIPTION: ${{ env.REACT_APP_WEBSITE_DESCRIPTION }}
run: |
npm run build
echo Build created successfully!
Expand Down
File renamed without changes.
Loading