yihong0618 / running_page

Make your own running home page
https://running-page.vercel.app
MIT License
3.4k stars 977 forks source link

Update GitHub Actions and README #611

Closed Yer1k closed 5 months ago

Yer1k commented 5 months ago

In this PR, the following items are updated:

  1. Updated .github/workflows/gh-pages.yml:

    • actions/checkout from v3 to v4
    • actions/cache from v3 to v4
    • actions/setup-node from v3 to v4 with node-version from 18 to 20
    • actions/upload-pages-artifact from v1 to v2
    • actions/deploy-pages from v1 to v3
  2. Updated .github/workflows/run_data_sync.yml:

    • actions/checkout from v3 to v4
    • actions/setup-python from v4 to v5
    • actions/cache from v3 to v4
  3. Updated README:

    • Updated Yer1k's running page link
    • Added instructions for people who would like to deploy their running page on GitHub.io with custom domain to avoid potential artifact index issues

PS: I have tested the changes on my own repo, and they all worked as expected; however we would still get annotations/warnings on GitHub Actions due to "Node.js 16 actions are deprecated", which is caused by pnpm/action-setup@v2 and actions/upload-artifact@v3. As for the former, other people have started PRs on that project, trying to fix the Node issue, yet it has not been updated. Then for the latter one, as mentioned in list 1, even though the Node issue has been fixed, due to GHES incompatibility, we currently cannot update the upload-artifact version. Please feel free to let me know if anything needs to be changed before the merge. Cheers!

vercel[bot] commented 5 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
running-page ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 2, 2024 4:33am
yihong0618 commented 5 months ago

@Yer1k nice job, you can also add your running_page to README-CN

Yer1k commented 5 months ago

README-CN Updated @yihong0618

@Yer1k nice job, you can also add your running_page to README-CN