fix wording/image/tip on sea treasure tasks #7
This file contains hidden or 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: Push Task List Changes | |
| on: | |
| push: | |
| branches: ["main"] | |
| paths: ["tiers/*.json", ".github/workflows/push-task-list-changes.yml"] | |
| workflow_dispatch: | |
| jobs: | |
| plugin: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup | |
| - name: Generate list | |
| run: npm run gen:list:tedious | |
| - name: Checkout plugin repository | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: OSRS-Taskman/collection-log-master | |
| token: ${{ secrets.ROBOT_GITHUB_TOKEN }} | |
| path: collection-log-master | |
| - name: Copy task tiers to plugin repository | |
| run: | | |
| cp lists/tedious.json collection-log-master/src/main/resources/com/collectionlogmaster/task-list.json | |
| cp lists/tedious.json collection-log-master/src/main/resources/com/collectionlogmaster/domain/task-list.json | |
| cp lists/tedious.json collection-log-master/src/main/resources/com/logmaster/domain/task-list.json | |
| - name: Create PR | |
| uses: ./.github/actions/create-pr | |
| with: | |
| path: collection-log-master | |
| token: ${{ secrets.ROBOT_GITHUB_TOKEN }} | |
| taskapp: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - uses: ./.github/actions/setup | |
| - name: Checkout taskapp repository | |
| uses: actions/checkout@v4 | |
| with: | |
| repository: OSRS-Taskman/Taskapp_Public | |
| token: ${{ secrets.ROBOT_GITHUB_TOKEN }} | |
| path: Taskapp_Public | |
| - name: Copy task list to taskapp repository | |
| run: cp tiers/*.json Taskapp_Public/task-lists/ | |
| - name: Create PR | |
| uses: ./.github/actions/create-pr | |
| with: | |
| path: Taskapp_Public | |
| token: ${{ secrets.ROBOT_GITHUB_TOKEN }} |