production #20
@ -6,14 +6,13 @@ on:
|
|||||||
- production
|
- production
|
||||||
jobs:
|
jobs:
|
||||||
Render and Deploy to wiai.de:
|
Render and Deploy to wiai.de:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
token: ${{ secrets.TOKEN}}
|
token: ${{ secrets.TOKEN}}
|
||||||
- run: apt update && apt install -yqq python3 zip python3-pip python3-venv libxml2-dev libxslt-dev python3-dev gcc wget tar
|
- run: apt update && apt install -yqq python3 zip python3-pip python3-venv libxml2-dev libxslt-dev python3-dev gcc wget tar pandoc
|
||||||
- run: wget -qO- https://github.com/jgm/pandoc/releases/download/2.19.2/pandoc-2.19.2-linux-amd64.tar.gz | tar xz --strip-components=1 -C /usr/local/bin pandoc-2.19.2/bin/pandoc
|
|
||||||
- run: cd onpoint && python3 -m venv .venv && source .venv/bin/activate && pip3 install -r requirements.txt && cd .. && bash deploy.sh
|
- run: cd onpoint && python3 -m venv .venv && source .venv/bin/activate && pip3 install -r requirements.txt && cd .. && bash deploy.sh
|
||||||
- run: ls
|
- run: ls
|
||||||
- run: cd .. && git clone https://cicd:${{secrets.TOKEN}}@git.stuve-bamberg.de/serverPush/wiai.de.git wiai && cp -r latex-wochenende/css latex-wochenende/js latex-wochenende/lib latex-wochenende/onpoint latex-wochenende/slides.de.html latex-wochenende/svg wiai/latex-wochenende && cp -r latex-wochenende/css latex-wochenende/js latex-wochenende/lib latex-wochenende/onpoint latex-wochenende/slides.en.html latex-wochenende/svg wiai/latex-weekend
|
- run: cd .. && git clone https://cicd:${{secrets.TOKEN}}@git.stuve-bamberg.de/serverPush/wiai.de.git wiai && cp -r latex-wochenende/css latex-wochenende/js latex-wochenende/lib latex-wochenende/onpoint latex-wochenende/slides.de.html latex-wochenende/svg wiai/latex-wochenende && cp -r latex-wochenende/css latex-wochenende/js latex-wochenende/lib latex-wochenende/onpoint latex-wochenende/slides.en.html latex-wochenende/svg wiai/latex-weekend
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user