28 lines
525 B
YAML
28 lines
525 B
YAML
name: testing
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
main:
|
|
|
|
name: Transport repo to testing directory
|
|
runs-on: ubuntu-latest
|
|
|
|
container:
|
|
image: alpine/git
|
|
volumes:
|
|
- /mnt/host/c/Users/Leter/AppData/Roaming/.minecraft/versions/TeStVISt-server/git-mods/TeStVISt-mods:/workspace/LeterZP/mods
|
|
defaults:
|
|
run:
|
|
working-directory: /workspace/LeterZP/mods
|
|
|
|
|
|
|
|
steps:
|
|
- name: main
|
|
run: |
|
|
git fetch origin main
|
|
git reset --hard origin/main |