Skip to content

fix(gh-actions): Correct target branch #8

fix(gh-actions): Correct target branch

fix(gh-actions): Correct target branch #8

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