refac: more testing #5
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Auto update CCBR README | |
on: | |
push: | |
branches: | |
- issue-15 | |
workflow_dispatch: | |
schedule: | |
- cron: '30 04 * * SUN' | |
jobs: | |
createreadme: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Pull Docker | |
run: | | |
docker pull nciccbr/make_readme:latest | |
- name: Run script in docker test1 | |
env: | |
GH_TOKEN: ${{ github.token }} | |
run: | | |
docker run -e GITHUB_TOKEN=$GITHUB_TOKEN -v ${{ github.workspace }}:/workspace -w /workspace nciccbr/make_readme:latest bash ./assets/make_readme/test1.sh | |
- name: Run script in docker test2 | |
env: | |
GH_TOKEN: ${{ github.token }} | |
run: | | |
docker run -e GITHUB_TOKEN=$GITHUB_TOKEN -v ${{ github.workspace }}:/workspace -w /workspace nciccbr/make_readme:latest bash ./assets/make_readme/test2.sh | |
# - name: Run script in docker | |
# env: | |
# GH_TOKEN: ${{ github.token }} | |
# run: | | |
# docker run -e GITHUB_TOKEN=$GITHUB_TOKEN -v ${{ github.workspace }}:/workspace -w /workspace nciccbr/make_readme:latest bash ./assets/make_readme/make_readme.sh | |
- name: verify output | |
run: | | |
cat profile/README.md | |
# - name: Commit changes | |
# uses: stefanzweifel/git-auto-commit-action@v5 | |
# env: | |
# GH_TOKEN: ${{ github.token }} |