我已经在 GitHub 操作上编写了这个 yml 文件,但我无法部署它,下面是我编写的 yml 文件,AWS 凭证已被删除
name: Deploy application
on:
push:
branches: [ dev ]
pull_request:
branches: [ dev ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Deploy timesheets NodeJS app
- uses: actions/checkout@v2
with:
host: ${{}}
username: ${{ }}
password: ${{ }}
region: ap-south-1
script: |
mkdir -p ~/timesheets-app-api/ # create a new folder
cd ~/timesheets-app-api/ # navigate into the folder
git clone https://github.com/Bharath-Teqnirvana/timesheets-app-api.git # clone the repo into the 'app' folder
cd Bharath-Teqnirvana/timesheets-app-api # navigate into the repo
npm install # install dependencies
npm start