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 f607c8c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 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,11 @@ 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 }}
- name: Create a file
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'
- uses: oleksiyrudenko/gha-git-credentials@v2-latest
with:
token: '${{ secrets.GITHUB_TOKEN }}'

0 comments on commit f607c8c

Please sign in to comment.