Skip to content

Commit

Permalink
Updated actions workflow to not include checkout@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Struck713 committed Jan 21, 2024
1 parent 8aa970d commit 14f777b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@ 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 fetch "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_ACTOR}/${GITHUB_REPOSITORY}.git"
git checkout master
git pull
git pull "https://${GITHUB_ACTOR}:${GITHUB_TOKEN}@github.com/${GITHUB_ACTOR}/${GITHUB_REPOSITORY}.git"
npm install
npm run build
pm2 restart barbarian-bot

0 comments on commit 14f777b

Please sign in to comment.