Skip to content

use ssh deploy key instead of github credentials #5

use ssh deploy key instead of github credentials

use ssh deploy key instead of github credentials #5

Workflow file for this run

name: "ghp-deploy"
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
- name: Deploy
run: npm run ghp-deploy
with:

Check failure on line 29 in .github/workflows/ghp-deploy.yaml

View workflow run for this annotation

GitHub Actions / ghp-deploy

Invalid workflow file

The workflow is not valid. .github/workflows/ghp-deploy.yaml (Line: 29, Col: 9): Unexpected value 'with'
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}