File tree Expand file tree Collapse file tree 2 files changed +61
-32
lines changed
Expand file tree Collapse file tree 2 files changed +61
-32
lines changed Original file line number Diff line number Diff line change 1+ name : Build and deploy
2+ on :
3+ push:
4+ branches: [master]
5+ pull_request:
6+ branches: [master]
7+ workflow_dispatch:
8+ branches: [master]
9+ env :
10+ PRJ_NAME: mpshort
11+ jobs :
12+ push:
13+ runs-on: ubuntu-latest
14+ container :
15+ image: opensuse/tumbleweed:latest
16+ permissions:
17+ packages: write
18+ contents: read
19+ steps:
20+ - name: Install dependencies
21+ run: |
22+ zypper -n --gpg-auto-import-keys ar -p1 \
23+ obs://M17N:fonts/openSUSE_Tumbleweed M17N:fonts
24+ zypper -n --gpg-auto-import-keys in -y --no-recommends \
25+ ant{,-apache-resolver} \
26+ git \
27+ google-alegreya{,-sans}-fonts \
28+ iosevka-fonts \
29+ poppler-tools \
30+ texlive-beamer \
31+ texlive-fontawesome-fonts \
32+ texlive-hologo \
33+ texlive-hyphen-russian \
34+ texlive-knuth-{lib,local} \
35+ texlive-latexmk \
36+ texlive-luamplib \
37+ texlive-metapost \
38+ texlive-mflogo{,-font} \
39+ texlive-microtype \
40+ texlive-piechartmp \
41+ texlive-polyglossia \
42+ texlive-xits
43+ - name: Checkout
44+ uses: actions/checkout@v4
45+ - name: Configure Git
46+ run: |
47+ git config --global --add safe.directory "$GITHUB_WORKSPACE"
48+ - name: Build
49+ run: |
50+ ant
51+ - name: Deploy
52+ uses: burnett01/rsync-deployments@7.0.2
53+ with:
54+ rsh: -oHostKeyAlgorithms=+ssh-rsa -oPubkeyAcceptedKeyTypes=+ssh-rsa
55+ switches: -avz --progress
56+ path: target/${PRJ_NAME}.pdf target/${PRJ_NAME}-cover.svg
57+ remote_path: ${{secrets.DEPLOY_PATH}}
58+ remote_host: ${{secrets.DEPLOY_HOST}}
59+ remote_port: ${{secrets.DEPLOY_PORT}}
60+ remote_user: ${{secrets.DEPLOY_USER}}
61+ remote_key: ${{secrets.DEPLOY_KEY}}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments