parent
34b3ecd0b9
commit
bdfadec91a
1 changed files with 1 additions and 20 deletions
|
@ -20,29 +20,10 @@ jobs:
|
|||
run: |
|
||||
apt-get install --yes \
|
||||
'pandoc' \
|
||||
'rsync' \
|
||||
|
||||
- run: /cd/branch
|
||||
|
||||
- name: Build
|
||||
run: './build.sh'
|
||||
|
||||
- name: Configure Delivery
|
||||
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}/"
|
||||
- run: /cd/sync
|
||||
|
|
Loading…
Reference in a new issue