Skip to content

Remove Rails & Ruby EOL versions support (#168) #65

Remove Rails & Ruby EOL versions support (#168)

Remove Rails & Ruby EOL versions support (#168) #65

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Docs Publishing
on:
push:
branches: [ master, docup ]
jobs:
build:
runs-on: ubuntu-latest
env:
working_directory: 'docs/'
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: '20.x'
- name: Install Dependencies
working-directory: ${{ env.working_directory }}
run: npm install
- name: Install SSH Client 🔑
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
- name: Publish
working-directory: ${{ env.working_directory }}
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Action"
GIT_USER=yosiat CURRENT_BRANCH=master USE_SSH=true npm run deploy