Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update GitHub workflows #4476

Merged
merged 3 commits into from
Mar 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update-status-chart.yml: .ts => .mts
  • Loading branch information
StephanTLavavej committed Mar 13, 2024
commit 1e10afac02bec6675a08982f6b8ee5f548dd7f70
6 changes: 3 additions & 3 deletions .github/workflows/update-status-chart.yml
Original file line number Diff line number Diff line change
@@ -24,16 +24,16 @@ jobs:
- name: Install Packages
run: |
npm ci
- name: Compile And Run gather_stats.ts
- name: Compile And Run gather_stats.mts
run: |
SECRET_GITHUB_PERSONAL_ACCESS_TOKEN="${{ github.token }}" npm run gather
- name: Compile And Bundle status_chart.ts
- name: Compile And Bundle status_chart.mts
run: |
npm run make
- name: Commit Changes
run: |
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add src/daily_table.ts src/monthly_table.ts built/status_chart.mjs
git add src/daily_table.mts src/monthly_table.mts built/status_chart.mjs
git diff-index --quiet HEAD || git commit -m "Automated update."
git push origin gh-pages