Skip to content

Update with netflix and recent publications #120

Update with netflix and recent publications

Update with netflix and recent publications #120

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Deploy
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches:
- 'develop'
# 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:
# The type of runner that the job will run on
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
# 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:
persist-credentials: false
- name: webfactory/ssh-agent
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: git config --global user.email "[email protected]"
- run: git config --global user.name "Deploy Script"
- run: git config --global --add url."[email protected]:".insteadOf "https://github.com/"
- run: rm -rf node_modules/
- run: npm cache clean --force
- run: npm install
- run: CI=false npm run deploy --if-present
- name: Upload a Build Artifact
uses: actions/upload-artifact@v2
if: failure()
with:
name: my-artifact
path: /home/runner/.npm/_logs/*
# Runs a set of commands using the runners shell
- name: Comfirm
run: |
echo 'Success'