diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 483dd2e..c6bb059 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -1,4 +1,4 @@ -name: Build and Deploy Pages +name: Angular Build and Deploy on: push: @@ -10,36 +10,20 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v4 - + uses: actions/checkout@v2 + - name: Set up Node.js - uses: actions/setup-node@v4 + uses: actions/setup-node@v3 with: node-version: 20 - - name: Cache node modules - id: cache-npm - uses: actions/cache@v4 - env: - cache-name: cache-node-modules - with: - # npm cache files are stored in `~/.npm` on Linux/macOS - path: ~/.npm - key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-build-${{ env.cache-name }}- - ${{ runner.os }}-build- - ${{ runner.os }}- - - - name: Install dependencies - run: npm ci - - name: Build Angular app to prod - run: npm run build:prod + working-directory: github-option-three-app + run: npm install && npm run build:prod - name: Deploy to GitHub Pages uses: JamesIves/github-pages-deploy-action@v4 with: token: ${{ secrets.TOKEN_GIT}} folder: dist/browser - branch: gh-pages + branch: prod diff --git a/src/assets/AraujoMicro.png b/src/assets/AraujoMicro.png deleted file mode 100644 index f5ec4bc..0000000 Binary files a/src/assets/AraujoMicro.png and /dev/null differ