Skip to content

chore: Rebuild package-lock.json #13

chore: Rebuild package-lock.json

chore: Rebuild package-lock.json #13

name: Build and Deploy
on:
push:
branches: ['2024']
workflow_call:
secrets:
API_TOKEN_GITHUB:
required: true
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
with:
persist-credentials: false
- name: Install and Build 🔧
run: |
npm install --legacy-peer-deps
npm run build
- name: Deploy 🚀
uses: JamesIves/[email protected]
env:
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
with:
GITHUB_TOKEN: ${{ secrets.API_TOKEN_GITHUB }}
REPOSITORY_NAME: Greenek/greenek.github.io
BRANCH: gh-pages
FOLDER: build