diff --git a/.forgejo/workflows/deploy-dgnum.yaml b/.forgejo/workflows/deploy-dgnum.yaml index 0e175ea..50ad301 100644 --- a/.forgejo/workflows/deploy-dgnum.yaml +++ b/.forgejo/workflows/deploy-dgnum.yaml @@ -29,6 +29,15 @@ jobs: cp -R --no-preserve=mode,ownership,timestamps result/* pages/ - name: Push new website - run: | - ls * - ls ../* + id: push_directory + uses: https://github.com/cpina/github-action-push-to-another-repository@main + env: + SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }} + with: + github-server: codeberg.org + source-directory: pages/ + destination-github-username: 'DGNum' + destination-repository-name: 'pages-test' + user-email: tom.hubrecht@dgnum.eu + commit-message: See ORIGIN_COMMIT from $GITHUB_REF + target-branch: main