Skip to content

updated tutorial & fix players getting stuck when breaking all scaffo… #16

updated tutorial & fix players getting stuck when breaking all scaffo…

updated tutorial & fix players getting stuck when breaking all scaffo… #16

# This is a basic workflow to help you get started with Actions
name: Deploy on vanilla server
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
push:
branches: [dev]
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "deploy"
deploy:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 10
# Deploys to the server
- name: Set env
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV
- name: Test
run: |
echo $RELEASE_VERSION
echo ${{ env.RELEASE_VERSION }}
- name: deploy
uses: swznd/sftp-deploy@master
with:
host: ${{ secrets.SFTP_IP_VANILLA }}
port: ${{ secrets.SFTP_PORT_VANILLA }}
user: ${{ secrets.SFTP_USER_VANILLA }}
password: ${{ secrets.SFTP_PASSWORD_VANILLA }}
remote_path: /world/
ignore: .github/, .vscode/, .gitignore, **/.gitignore,**/.git/**, /advancements/, /data/, /DIM-1/, /DIM1/, /entities/, /generated/, /playerdata/, /poi/, /region/ /stats/, /level.dat, /level.dat_old, /session.lock, /uid.dat, /docs/, /generators/