S1B #24922
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
# This workflow will upload a Python Package using Twine when a release is created | |
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries | |
name: S1B | |
on: | |
schedule: | |
- cron: '0 21 * * *' | |
workflow_dispatch: | |
jobs: | |
PushS1B: | |
# needs: UpdateS1 | |
runs-on: ubuntu-latest | |
steps: | |
- name: CheckoutRepo | |
uses: actions/checkout@v2 | |
with: | |
ref: master | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install setuptools wheel twine pathlib pandas | |
- name: DataGenerate | |
run: | | |
python ./S1B.py | |
- name: Pushes S1B folder | |
uses: crykn/[email protected] | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source_folder: S1B | |
destination_repo: TomoeMami/tomoemami.github.io | |
destination_folder: S1B | |
user_email: '[email protected]' | |
user_name: 'PushBot' | |
commit_msg: '[GHA] Update the S1B files.' |