Skip to content

Merge pull request #307 from abhinaypawar470/patch-1 #37

Merge pull request #307 from abhinaypawar470/patch-1

Merge pull request #307 from abhinaypawar470/patch-1 #37

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: 'GH Pages Deploy'
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [ master ]
# pull_request:
# branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
runs-on: ubuntu-20.04
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
with:
node-version: 18
# Runs a single command using the runners shell
- name: Install and Build
run: |
npm ci --ignore-scripts
npm run build:static
- name: Deploy
uses: Cecilapp/GitHub-Pages-deploy@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
email: max.marinich@gmail.com
build_dir: static