2023-11-21 21:59:43 -05:00
|
|
|
name: Clean up S3 Bucket in Linode
|
|
|
|
run-name: ${{ gitea.actor }} is learning Gitea Actions
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [main]
|
|
|
|
schedule:
|
2023-12-16 11:16:49 -05:00
|
|
|
- cron: '0 2 1,15 * *'
|
2023-11-21 21:59:43 -05:00
|
|
|
env:
|
|
|
|
ACCESS_KEY: ${{ secrets.ACCESS_KEY }}
|
|
|
|
SECRET_KEY: ${{ secrets.SECRET_KEY }}
|
|
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
check-bats-version:
|
2023-12-09 21:18:48 -05:00
|
|
|
runs-on: x86
|
2023-11-21 21:59:43 -05:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-python@v4
|
|
|
|
with:
|
|
|
|
python-version: 'pypy3.10'
|
|
|
|
- run: pip install --upgrade pip
|
|
|
|
- run: pip install -r requirements.txt
|
|
|
|
- run: python3 main.py --bucket "smiggiddy" --host "us-east-1.linodeobjects.com"
|