Skip to content

revise 4 elbow post #69

revise 4 elbow post

revise 4 elbow post #69

Workflow file for this run

name: documentation deployment
on:
pull_request:
branches: [master]
push:
branches: [master]
env:
NODE_VER: '18.0.0'
jobs:
checks:
if: github.event_name != 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VER }}
cache: 'yarn'
- run: yarn install --frozen-lockfile
- run: yarn build
gh-release:
if: github.event_name != 'pull_request'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VER }}
cache: 'yarn'
- uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }}
- name: Release to GitHub Pages
env:
USE_SSH: true
GIT_USER: alzafacon
run: |
git config --global user.email "[email protected]"
git config --global user.name "Fidel Coria"
yarn install --frozen-lockfile
yarn deploy