Closed JT2M0L3Y closed 1 month ago
Going to mention #14 as this will be a replacement for it to ensure the production version is working as intended
We still could use code coverage so we can even reopen the issue as needed in the future
With the intention of having this tool run autonomously, having little or no intervention needed, it would be nice to have a workflow that deploys this bot and all its dependencies over to hosting server.
Ideally, this would involve scp or ssh to transfer the files between the workflow runner and the hosting server.
GitHub Docs has a number of available endpoints for pulling a version of the project over to a server. Namely, a "Get the latest release" API endpoint at this link.
@JT2M0L3Y
Another thing to consider is having some tests to run on Pull Request so the branch can be validated for the next released feature it has. Go here
on:
pull_request:
types:
- closed
jobs:
if_merged:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- run: |
echo The PR was merged
on:
pull_request:
types:
- opened
branches:
- 'releases/**'
paths:
- '**.js'
on:
pull_request_review:
types: [submitted]
jobs:
approved:
if: github.event.review.state == 'APPROVED'
runs-on: ubuntu-latest
steps:
- run: echo "This PR was approved"
Feature
Thoughts