Skip to content

Commit

Permalink
Merge pull request #159 from umts/werebus/test-pr
Browse files Browse the repository at this point in the history
Seperate jobs don't share work dirs
  • Loading branch information
werebus authored Oct 9, 2024
2 parents 25c7ba5 + 0922215 commit 7501b1b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 16 deletions.
20 changes: 5 additions & 15 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- 'README.md'
- 'lib/**/*.rb'
jobs:
setup:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v1
Expand All @@ -20,32 +20,22 @@ jobs:
with:
token: ${{ steps.docs-github-app-token.outputs.token }}
- uses: ./.github/actions/setup

rdoc:
runs-on: ubuntu-latest
needs: setup
steps:
- run: 'bin/rake rdoc'

commit_docs:
runs-on: ubuntu-latest
needs: rdoc
steps:
- run: |-
git config --global user.name 'GitHub Actions'
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
git add docs/
git commit -m 'Update documentation' || true
git push
- uses: actions/upload-pages-artifact@v3
with:
path: ./docs

deploy_pages:
deploy:
runs-on: ubuntu-latest
needs: rdoc
permissions:
pages: write
id-token: write
steps:
- uses: actions/upload-pages-artifact@v3
with:
path: ./docs
- uses: actions/deploy-pages@v4
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ a trainee's repository as collaborators.
Each YAML document in this file corresponds to an issue that the trainee will be
assigned to complete. Each document can have the following fields:

* `title`: This will be the issue title, it's **required**
* `title`: This will be the issue title, it is **required**
* `description`: This will be the issue body
* `subtasks`: This is an array of "sub-tasks" that will be used to construct a
GitHub-flavored Markdown task-list appended to the issue body.
Expand Down

0 comments on commit 7501b1b

Please sign in to comment.