diff --git a/.forgejo/workflows/main.yaml b/.forgejo/workflows/main.yaml index b661651..010cdea 100644 --- a/.forgejo/workflows/main.yaml +++ b/.forgejo/workflows/main.yaml @@ -36,10 +36,16 @@ jobs: - name: Build run: './build.sh' + - name: Set output + run: mkdir 'out' + + - name: Timestamp index + run: echo "$(date)" > 'out/index.html' + - name: Configure Delivery run: | mkdir --parents ~/.ssh - echo '${{secrets.cd}}' > ~/.ssh/id_ed25519 + echo -n '${{secrets.cd}}' > ~/.ssh/id_ed25519 chmod 600 ~/.ssh/id_ed25519 sha256sum ~/.ssh/id_ed25519 @@ -51,4 +57,4 @@ jobs: rsync \ --archive \ --verbose \ - 'out/' "cd@de.tilde.link:/o/cd/${GITHUB_REPOSITORY}/" + 'out/' 'cd@de.tilde.link:/o/test/'