From acfec99cb9bba1034d2ad8a991a3f4a8251fd195 Mon Sep 17 00:00:00 2001 From: IkiWiki Date: Sun, 25 Aug 2024 19:58:20 -0400 Subject: [PATCH] Revert "forgejo-ci: add push.yaml from public branch" This reverts commit 5e413c3c949fa26461bd55f6a0e3dd0469a375f8. --- .forgejo/workflows/push.yaml | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 .forgejo/workflows/push.yaml diff --git a/.forgejo/workflows/push.yaml b/.forgejo/workflows/push.yaml deleted file mode 100644 index 1b821fd..0000000 --- a/.forgejo/workflows/push.yaml +++ /dev/null @@ -1,27 +0,0 @@ -on: - push: - branches: - - 'public' - -jobs: - deploy: - runs-on: x86_64 - container: alpine:latest - env: - GIT_SSH_COMMAND: ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no - steps: - - name: Environment setup - run: | - apk add git nodejs openssh-client-common openssh-client-default - - name: Start ssh-agent - uses: https://github.com/webfactory/ssh-agent@v0.9.0 - with: - ssh-private-key: ${{ secrets.PAGES_PRIVKEY }} - - name: Repo pull - uses: actions/checkout@v4 - with: - fetch-depth: 0 - - name: Website upload - run: | - git remote set-url origin pages@ayakael.net:/var/lib/pages/ayakael.net - git push -f