Greetings! I do everything according to your instructions, but I get an error at the "copy file via ssh key" stage
If I run deploy.sh manually on the server, it works fine..
.github/workflows/docker.yml:
name: client on: push: branches: master jobs: build-and-deploy: name: Build and deploy next site runs-on: ubuntu-latest steps: - name: Checkout Code uses: actions/checkout@v2.3.1 - name: Install Node.js uses: actions/setup-node@v1 with: node-version: '14.x' - name: Install Project Dependencies run: npm install - name: Build run: npm run build - name: copy file via ssh key uses: appleboy/scp-action@master env: HOST: 92.255.108.95 PORT: 22 USERNAME: root PASSWORD: ****** command_timeout: 100m script: sh deploy.sh
hm.. Looks like appleboy/scp-action@master has no script option
It has a script option
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Greetings! I do everything according to your instructions, but I get an error at the "copy file via ssh key" stage
If I run deploy.sh manually on the server, it works fine..
.github/workflows/docker.yml:
hm.. Looks like appleboy/scp-action@master has no script option
It has a script option