Skip to content

Merge pull request #13 from p0nch0d3v/development #12

Merge pull request #13 from p0nch0d3v/development

Merge pull request #13 from p0nch0d3v/development #12

Workflow file for this run

name: Github Pages Deploy
on:
push:
branches:
- master
env:
REPOSITORY: ${{ secrets.REPOSITORY }}
USER_NAME: ${{ secrets.USER_NAME }}
USER_EMAIL: ${{ secrets.USER_EMAIL }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-node@v3
with:
node-version: lts/*
- name: NPM Instal and Build
run: |
npm install
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: master
folder: dist
repository-name: ${{ env.REPOSITORY }}
git-config-name: ${{ env.USER_NAME }}
git-config-email: ${{ env.USER_EMAIL }}
ssh-key: ${{ secrets.GP_KEY }}