mirror of
https://gitea.smigz.com/smiggiddy/s3_cleanup.git
synced 2024-12-25 20:50:43 -05:00
Update .gitea/workflows/learn-gitea.actions.yml
This commit is contained in:
parent
60c4605a3d
commit
c1947fbea2
1 changed files with 23 additions and 23 deletions
|
@ -1,23 +1,23 @@
|
||||||
name: Clean up S3 Bucket in Linode
|
name: Clean up S3 Bucket in Linode
|
||||||
run-name: ${{ gitea.actor }} is learning Gitea Actions
|
run-name: ${{ gitea.actor }} is learning Gitea Actions
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 * 1,15 * *'
|
- cron: '0 * 1,15 * *'
|
||||||
env:
|
env:
|
||||||
ACCESS_KEY: ${{ secrets.ACCESS_KEY }}
|
ACCESS_KEY: ${{ secrets.ACCESS_KEY }}
|
||||||
SECRET_KEY: ${{ secrets.SECRET_KEY }}
|
SECRET_KEY: ${{ secrets.SECRET_KEY }}
|
||||||
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check-bats-version:
|
check-bats-version:
|
||||||
runs-on: x86
|
runs-on: ubuntu:latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-python@v4
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: 'pypy3.10'
|
python-version: 'pypy3.10'
|
||||||
- run: pip install --upgrade pip
|
- run: pip install --upgrade pip
|
||||||
- run: pip install -r requirements.txt
|
- run: pip install -r requirements.txt
|
||||||
- run: python3 main.py --bucket "smiggiddy" --host "us-east-1.linodeobjects.com"
|
- run: python3 main.py --bucket "smiggiddy" --host "us-east-1.linodeobjects.com"
|
||||||
|
|
Loading…
Reference in a new issue