This repository has been archived by the owner on Dec 31, 2023. It is now read-only.
S1A23 #336
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: S1A23 | |
on: | |
schedule: | |
- cron: '0 20 * * *' | |
workflow_dispatch: | |
jobs: | |
PushS1B: | |
# needs: UpdateS1 | |
runs-on: ubuntu-latest | |
steps: | |
- name: CheckoutRepo | |
uses: actions/checkout@v2 | |
with: | |
ref: main | |
- 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 ./s1a.py | |
- name: Pushes S1B folder | |
uses: crykn/[email protected] | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source_folder: S1A23 | |
destination_repo: TomoeMami/tomoemami.github.io | |
destination_folder: S1A23 | |
user_email: '[email protected]' | |
user_name: 'PushBot' | |
commit_msg: '[GHA] Update the S1A23 files.' | |