parent
34b3ecd0b9
commit
bdfadec91a
1 changed files with 1 additions and 20 deletions
|
@ -20,29 +20,10 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
apt-get install --yes \
|
apt-get install --yes \
|
||||||
'pandoc' \
|
'pandoc' \
|
||||||
'rsync' \
|
|
||||||
|
|
||||||
- run: /cd/branch
|
- run: /cd/branch
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: './build.sh'
|
run: './build.sh'
|
||||||
|
|
||||||
- name: Configure Delivery
|
- run: /cd/sync
|
||||||
run: |
|
|
||||||
mkdir --parents ~/.ssh
|
|
||||||
echo '${{secrets.cd}}' > ~/.ssh/id_ed25519
|
|
||||||
chmod 600 ~/.ssh/id_ed25519
|
|
||||||
sha256sum ~/.ssh/id_ed25519
|
|
||||||
|
|
||||||
- name: Test connection
|
|
||||||
run: |
|
|
||||||
ssh -o StrictHostKeyChecking=accept-new 'cd@de.tilde.link' \
|
|
||||||
-- hostname
|
|
||||||
|
|
||||||
- name: Synchronize output
|
|
||||||
run: |
|
|
||||||
rsync \
|
|
||||||
--archive \
|
|
||||||
--verbose \
|
|
||||||
'out/' \
|
|
||||||
"cd@de.tilde.link:/cd/${GITHUB_REF_NAME}/${GITHUB_REPOSITORY}/"
|
|
||||||
|
|
Loading…
Reference in a new issue