P
P
postya2020-09-20 06:27:05
git
postya, 2020-09-20 06:27:05

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'


There are no problems with auto-deploy, I just would like to get rid of this inscription.

Is this warning critical at all?

How can this be fixed?

5f66cbaeb28ea146571926.jpeg

deploy.yml:

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

1 answer(s)
L
Lynn "Coffee Man", 2020-09-20
@postya

Non- critical
Remove second uses

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question