Compare commits
2 Commits
b7568e2ba2
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| e4a24a6d55 | |||
| 3a80dc0dc3 |
20
.gitea/workflows/deploy.yaml
Normal file
20
.gitea/workflows/deploy.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
name: Deploy on Release
|
||||
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
|
||||
jobs:
|
||||
deploy-locally:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Copy to Host Volume
|
||||
run: |
|
||||
# Ensure the destination exists
|
||||
mkdir -p /mnt/shared/pathtoglory.querst/public
|
||||
# Copy the specific folder contents to the mounted volume
|
||||
cp -r ./app/public /mnt/shared/pathtoglory.quest/public
|
||||
echo "Public files copied to host successfully."
|
||||
Reference in New Issue
Block a user