WIP: Auto-deploy action #22
Loading…
Reference in a new issue
No description provided.
Delete branch "action"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
We want to auto-deploy this repository using a runner on hub.psychoinformatics.de. This draft PR establishes a workflow for this.
While the workflow even when it is complete will never run on this instance, it should be usable on hub.psychoinformatics.de. My plan is to have the action be triggered using the UI (i.e., button press, no PRs/pushes/etc). This way the mirror repo can stay "read-only". At the same time, the clone action is -- due to the recursive get -- somewhat costly. Thus, the action can be consciously triggered rather than ran on each commit.
The action is short and is hopefully self-explanatory. But without testing, access to the server (nor having written an action in ... years?) there's likely plenty to be ironed out. My questions specific to the www org are:
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.