2023-10-30 07:07:27 -04:00
|
|
|
name: Clean up S3 Bucket in Linode
|
2023-07-29 09:59:11 -04:00
|
|
|
run-name: ${{ gitea.actor }} is learning Gitea Actions
|
2023-08-01 22:23:29 -04:00
|
|
|
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:23:29 -04:00
|
|
|
|
2023-08-01 22:19:43 -04:00
|
|
|
|
2023-07-29 09:59:11 -04:00
|
|
|
jobs:
|
|
|
|
check-bats-version:
|
2023-10-30 07:07:27 -04:00
|
|
|
runs-on: x86
|
2023-07-29 09:59:11 -04:00
|
|
|
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-08 21:01:28 -04:00
|
|
|
- run: pip install -r requirements.txt
|
|
|
|
- run: python3 main.py --bucket "smiggiddy" --host "us-east-1.linodeobjects.com"
|