s3_cleanup/.gitea/workflows/learn-gitea.actions.yml

23 lines
595 B
YAML
Raw Normal View History

2023-07-29 09:59:11 -04:00
name: learn-gitea-actions
run-name: ${{ gitea.actor }} is learning Gitea Actions
on:
push:
branches: [main]
schedule:
- cron: '0 * 1,15 * *'
2023-08-01 22:15:12 -04:00
env:
ACCESS_KEY: ${{ secrets.ACCESS_KEY }}
SECRET_KEY: ${{ secrets.SECRET_KEY }}
2023-08-01 22:19:43 -04:00
2023-07-29 09:59:11 -04:00
jobs:
check-bats-version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
2023-07-29 10:02:48 -04:00
- uses: actions/setup-python@v4
with:
2023-07-29 10:16:08 -04:00
python-version: 'pypy3.10'
2023-08-01 22:00:18 -04:00
- run: pip install --upgrade pip
2023-08-01 21:54:02 -04:00
- run: pip install -r requirements.txt && python3 main.py --bucket "smiggiddy" --host "us-east-1.linodeobjects.com"