Answer the question
In order to leave comments, you need to log in
How to fix the warning in Github actions warning: Unexpected input(s) uses?
I have successfully connected the auto-deploy application to my VPS server. But when I look at how the project is being built in Github actions, a warning always appears there:
warning : Unexpected input(s) 'uses'
name: Deployment Setup
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
job-one:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Testing VPS connection and deploy project
uses: appleboy/[email protected]
with:
host: 182.54.145.548
port: 5050
username: kentforth
key: ${{ secrets.PRIVATE_KEY}}
uses: appleboy/[email protected]
script: |
cd /home/kentforth/webapps/Glinka-Frontend
git pull
npm install --production
npm run build
sudo service nginx restart
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question