Sha256: 73ff8de09065634d6b72368dccd5e9b68e91dd093e255cb518449cc9d1d6599c

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

# 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 ]

jobs:
  build:

    runs-on: ubuntu-latest
    env:
      working_directory: 'docs/'

    steps:
    - uses: actions/checkout@v2
    - name: Use Node.js ${{ matrix.node-version }}
      uses: actions/setup-node@v1
      with:
        node-version: '12.x'

    - name: Install Dependencies
      working-directory: ${{ env.working_directory }}
      run: npm install

    - name: Install SSH Client 🔑
      uses: webfactory/ssh-agent@v0.2.0
      with:
        ssh-private-key: ${{ secrets.DEPLOY_KEY }}

    - name: Publish
      working-directory: ${{ env.working_directory }}
      run: |
        git config --global user.email "action@github.com"
        git config --global user.name "GitHub Action"
        GIT_USER=panko-serializer CURRENT_BRANCH=master USE_SSH=true npm run publish-gh-pages

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
panko_serializer-0.7.4 .github/workflows/docs.yml