Skip to content

Commit

Permalink
feat: rename bin/ to twios/
Browse files Browse the repository at this point in the history
  • Loading branch information
BobrImperator committed Sep 21, 2023
1 parent 4d2822e commit 93cebfe
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 16 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/twios.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,10 @@ jobs:
git config --global user.email "twios@twios_test_dev.com"
git config --global user.name "TWIOS Dev"
- name: Generate Comment
shell: bash
run: |
GITHUB_PERSONAL_TOKEN=$GITHUB_TOKEN ./bin/this-week.sh comment
GITHUB_PERSONAL_TOKEN=$GITHUB_TOKEN ./twios/this-week.sh comment
- name: Generate TWIOS
shell: bash
run: GITHUB_PERSONAL_TOKEN=$GITHUB_TOKEN ./bin/this-week.sh
run: GITHUB_PERSONAL_TOKEN=$GITHUB_TOKEN ./twios/this-week.sh
- name: Push new TWIOS
run: |
FORMATTED_DATE="$(date +"%Y-%m-%d")"
Expand All @@ -60,12 +58,10 @@ jobs:
git config --global user.email "twios@twios_test_dev.com"
git config --global user.name "TWIOS Dev"
- name: Read PR comment body
shell: bash
run: |
GITHUB_PERSONAL_TOKEN=$GITHUB_TOKEN bash bin/this-week.sh comment --comment="${{ github.event.pull_request.body }}"
GITHUB_PERSONAL_TOKEN=$GITHUB_TOKEN ./twios/this-week.sh comment --comment="${{ github.event.pull_request.body }}"
- name: Generate TWIOS
shell: bash
run: GITHUB_PERSONAL_TOKEN=$GITHUB_TOKEN bash bin/this-week.sh -edit
run: GITHUB_PERSONAL_TOKEN=$GITHUB_TOKEN ./twios/this-week.sh -edit
- name: Push updated TWIOS
run: |
git add **/*.md **/*.json && git commit -m "Edited $TWIOS_PR_REF"
Expand Down
7 changes: 0 additions & 7 deletions bin/this-week.sh

This file was deleted.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"percy": "percy snapshot",
"crawl": "node scripts/crawl.js",
"gravityci": "gravityci",
"this-week": "bash bin/this-week.sh"
"this-week": "./twios/this-week.sh"
},
"devDependencies": {
"@11ty/eleventy": "^2.0.0",
Expand Down
File renamed without changes.
7 changes: 7 additions & 0 deletions twios/this-week.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/sh

ls

chmod +x twios/this-week-in-open-source

twios/this-week-in-open-source --config-path=config/this-week-in-open-source.config.json

0 comments on commit 93cebfe

Please sign in to comment.