Skip to content

Commit

Permalink
Commit code changes in GH Action to establish pattern for checking in…
Browse files Browse the repository at this point in the history
… plot data
  • Loading branch information
KyleDolezal committed Feb 5, 2024
1 parent e3830ac commit 7db2204
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/plots_update_cronjob.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Automated job
on:
push:
branches:
- 'test_cronjob'
- 'test_gh_action_commit'
# schedule:
# - cron: '5 4 * * *'

Expand All @@ -18,11 +18,10 @@ jobs:
with:
python-version: '3.10'

- name: Run a one-line script
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: |
- uses: oleksiyrudenko/gha-git-credentials@v2-latest
with:
token: '${{ secrets.GITHUB_TOKEN }}'
- run: |
touch test_file.txt
pip install boto3
python test_script.py $AWS_ACCESS_KEY_ID $AWS_SECRET_ACCESS_KEY
git add .
git commit -m 'Add test file'

0 comments on commit 7db2204

Please sign in to comment.