All checks were successful
/ run (push) Successful in 13s
- Updated start script in package.json to include additional permissions for Deno. - Added AWS SDK dependency for S3 operations. - Implemented downloadFile and uploadFile functions in s3.ts for S3 interactions. - Created notify function in notify.ts to send notifications via SMS webhook. - Modified getBios function in index.ts to compare current and new BIOS versions, upload new data to S3, and send notifications if new versions are found.
28 lines
761 B
YAML
28 lines
761 B
YAML
on:
|
|
schedule:
|
|
- cron: "12 10 * * *"
|
|
push:
|
|
branches:
|
|
- master
|
|
- renovate/*
|
|
jobs:
|
|
run:
|
|
runs-on: docker
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: denoland/setup-deno@v2
|
|
env:
|
|
RUNNER_TOOL_CACHE: /tmp
|
|
with:
|
|
deno-version: v2.x
|
|
- run: |
|
|
deno -q install --frozen
|
|
deno run start
|
|
env:
|
|
SMS_PASS: ${{ secrets.SMS_PASS }}
|
|
SMS_USER: ${{ secrets.SMS_USER }}
|
|
SMS_WEBHOOK_URL: ${{ secrets.SMS_WEBHOOK_URL }}
|
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
|
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
|
|
AWS_ENDPOINT_URL: ${{ secrets.AWS_ENDPOINT_URL }}
|