generate-table-action #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: generate-table-action | |
on: [workflow_dispatch] | |
jobs: | |
build: | |
name: generate | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.ref }} | |
- run: | | |
apt-get install -y ntpsec-ntpdate; | |
git config --global user.name "github-actions[bot]"; | |
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"; | |
python3 scripts/generate.py; | |
git add -A; | |
git push; | |