diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 57b1a30..3ffc5e0 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -15,7 +15,7 @@ jobs: run: npm install - name: Deploy to AWS EC2 - uses: appleboy/scp-action@master + uses: appleboy/scp-action@main with: host: ${{ secrets.REMOTE_HOST }} username: ${{ secrets.REMOTE_USER }} @@ -24,7 +24,7 @@ jobs: target: "/var/www/your_project_directory" - name: Restart PM2 application - uses: appleboy/ssh-action@master + uses: appleboy/ssh-action@main with: host: ${{ secrets.REMOTE_HOST }} username: ${{ secrets.REMOTE_USER }}