renderd7/.github/workflows/Docs.yml
2021-07-23 15:58:01 +02:00

33 lines
982 B
YAML

name: 📄
on:
push:
branches: [ "**" ]
pull_request:
branches: [ "*" ]
jobs:
# This workflow contains a single job called "build"
build:
# 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
- uses: actions/checkout@v2
# Runs a single command using the runners shell
- name: Run a one-line script
run: |
cd ..
git clone https://github.com/NPI-D7/BCSTM-Player.git
cp -r BCSTM-Player/RenderD7-alpha0-6-0/* RenderD7/
cd RenderD7
git config --global user.email "tobid7@outlook.de"
git config --global user.name "Tobi-D7"
git stage *
git commit -m "BCSTM-Player | $COMMIT_HASH"
git tag v$CURRENT_DATE
git push origin main v$CURRENT_DATE