Skip to content

use npm i -f

use npm i -f #36

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install NPM Dependencies
run: npm install -f
env:
FONTAWESOME_NPM_AUTH_TOKEN: ${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}
- name: Build Site
run: npm run build
env:
FONTAWESOME_NPM_AUTH_TOKEN: ${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}
GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CONTENTFUL_ACCESS_TOKEN: ${{ secrets.CONTENTFUL_ACCESS_TOKEN }}
GATSBY_GOOGLE_MAPS_API_TOKEN: ${{ secrets.GATSBY_GOOGLE_MAPS_API_TOKEN }}
- name: Rename Build Folder
run: |
rm -rf docs
mv public docs
- name: Build Resume
run: npm run build-resume
env:
FONTAWESOME_NPM_AUTH_TOKEN: ${{ secrets.FONTAWESOME_NPM_AUTH_TOKEN }}
- name: Add & Commit
uses: EndBug/add-and-commit@v4.4.0
with:
add: docs