Skip to content

Commit

Permalink
Added checkout@v4 to actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Struck713 committed Jan 21, 2024
1 parent d33fb14 commit 8aa970d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ jobs:
name: Deploy to server
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Pull and build
run: |
cd ~/barbarian-bot/
git fetch
git checkout master
git pull
npm install
npm run build
pm2 restart barbarian-bot

0 comments on commit 8aa970d

Please sign in to comment.