diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 7e075b9..a1bcb35 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -12,6 +12,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Setup Node.js uses: actions/setup-node@v3 @@ -31,6 +33,7 @@ jobs: run: | git config --global user.name 'GitHub Actions' git config --global user.email 'actions@github.com' + git checkout main git add dist -f git commit -m 'Deploy to GitHub Pages' git push origin `git subtree split --prefix dist main`:gh-pages --force diff --git a/README.md b/README.md index 6d29de6..ec66f22 100644 --- a/README.md +++ b/README.md @@ -32,8 +32,8 @@ Install node, at least version 18. First run `npm install` and then `npm run dev The project should be accessible via http://localhost:5173/retroleaderboards/. ## Running screens -![Login](public/login.png) -![Recently played games list](public/recently_played_games_list.png) -![Logout](public/logout.png) -![Game leaderboards](public/game_leaderboards.png) -![Leaderboard entries](public/leaderboard_entries.png) +Login +Recently played games list +Logout +Game leaderboards +Leaderboard entries \ No newline at end of file