diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index b88e583..30dee19 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,10 +12,10 @@ on: # A workflow run id made up one or more jobs that can run sequentially or in parallel jobs: build-and-deploy: - # The type of runner that the job will run on + # The type of runner that the job will run on runs-on: ubuntu-latest - # Steps represent a sequence of tasks that will be executed as part of the job - steps: + # Steps represent a sequence of tasks that will be executed as part of the job + steps: # Checks-out your repository under $GITHUB_WORKSPACE, so the job can access it - name: Checkout uses: actions/checkout@v4.1.0 @@ -24,12 +24,15 @@ jobs: uses: actions/setup-node@v3.8.1 with: node-version: "18" + # Create environment file + - name: Create environment file + run: touch src/environments/environment.ts # Install dependencies - name: Install Dependencies run: npm i - # Build app por production + # Build app por production and create environment file - name: Build app bundle - run: npm run build:prod + run: npm run build #Replace the secret variables - name: Replace secret uses: cschleiden/replace-tokens@v1.2 @@ -49,7 +52,7 @@ jobs: build_dir: dist/clothes-catalog env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - - - + + + + diff --git a/src/app/Domain/state/cloth/cloth.effect.ts b/src/app/Domain/state/cloth/cloth.effect.ts index 288cbc3..bc197b8 100644 --- a/src/app/Domain/state/cloth/cloth.effect.ts +++ b/src/app/Domain/state/cloth/cloth.effect.ts @@ -17,7 +17,6 @@ export class ClothEffect { .getSpreadsheet() .pipe( map((spreadsheetData: Spreadsheet) => { - console.log('xxxx', spreadsheetData); return ({ type: ClothActions.GET_CLOTHES, spreadsheet: spreadsheetData, diff --git a/src/app/UI/main/main.component.html b/src/app/UI/main/main.component.html index 97fe7e3..9a5f985 100644 --- a/src/app/UI/main/main.component.html +++ b/src/app/UI/main/main.component.html @@ -1,3 +1,7 @@ -