testing done. finalize workflow.
This commit is contained in:
parent
619c63794b
commit
7d76018eea
1 changed files with 2 additions and 5 deletions
7
.github/workflows/adabot_cron.yml
vendored
7
.github/workflows/adabot_cron.yml
vendored
|
|
@ -1,9 +1,6 @@
|
||||||
name: Update Libraries/Contributing Info
|
name: Update Libraries/Contributing Info
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- action-ify
|
|
||||||
schedule:
|
schedule:
|
||||||
- cron: 45 9 * * *
|
- cron: 45 9 * * *
|
||||||
|
|
||||||
|
|
@ -24,7 +21,7 @@ jobs:
|
||||||
# Only run the build on Adafruit's repository. Forks won't have the secrets.
|
# Only run the build on Adafruit's repository. Forks won't have the secrets.
|
||||||
# Its necessary to do this here, since 'schedule' events cannot (currently)
|
# Its necessary to do this here, since 'schedule' events cannot (currently)
|
||||||
# be limited (they run on all forks' default branches).
|
# be limited (they run on all forks' default branches).
|
||||||
#if: startswith(github.repository, 'adafruit/')
|
if: startswith(github.repository, 'adafruit/')
|
||||||
steps:
|
steps:
|
||||||
- name: Dump GitHub context
|
- name: Dump GitHub context
|
||||||
env:
|
env:
|
||||||
|
|
@ -58,4 +55,4 @@ jobs:
|
||||||
env:
|
env:
|
||||||
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
|
||||||
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
|
||||||
run: "[ -z \"$AWS_ACCESS_KEY_ID\" ] || aws s3 cp bin/adabot/ s3://sommersoft-travis-testing/adabot/web/ --recursive --no-progress --region us-east-1"
|
run: "[ -z \"$AWS_ACCESS_KEY_ID\" ] || aws s3 cp bin/adabot/ s3://adafruit-circuit-python/adabot/web/ --recursive --no-progress --region us-east-1"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue