Skip to content

Commit

Permalink
Updated build
Browse files Browse the repository at this point in the history
  • Loading branch information
Lorenzo-Pappalardo authored Apr 3, 2024
1 parent 134d0fb commit 74ff0f8
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/Build_&_Deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3

- name: Set Node version
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '12.x'

- name: Install dependencies
run: npm install

- name: Cache dependencies
uses: actions/cache@v2
with:
path: |
**/node_modules
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}

- name: Deploy
run: |
git config --global user.name $user_name
Expand All @@ -38,5 +31,5 @@ jobs:
env:
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
github_token: ${{ secrets.ACTIONS_DEPLOY_ACCESS_TOKEN }}
repository: ${{ github.repository }}
github_token: ${github_token}
repository: ${repository}

0 comments on commit 74ff0f8

Please sign in to comment.