test forgejo actions
This commit is contained in:
parent
898aea6d44
commit
0b6cfeae71
4 changed files with 27 additions and 0 deletions
13
.forgejo/workflows/deploy.yml
Normal file
13
.forgejo/workflows/deploy.yml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: Checkout Repository
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Install SSH Key
|
||||||
|
run: echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
|
||||||
|
|
||||||
|
- name: Deploy via Rsync
|
||||||
|
run: rsync -r --delete-after $GITHUB_WORKSPACE/ hosting187597@hosting187597.a2f96.netcup.net:~/${{ github.event.inputs.web_root_directory }}/wp-content/plugins/activitypub-event-transformers
|
14
.forgejo/workflows/deploy_test.yml
Normal file
14
.forgejo/workflows/deploy_test.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
# .github/workflows/deploy_wordpress_test1.yml
|
||||||
|
|
||||||
|
name: Deploy to https://wordpress-test.event-federation.eu/
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
web_root_directory:
|
||||||
|
description: wordpress-test.event-federation.eu
|
||||||
|
required: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
deploy:
|
||||||
|
<<: *deploy-job
|
0
.forgejo/workflows/deploy_test1.yml
Normal file
0
.forgejo/workflows/deploy_test1.yml
Normal file
0
.forgejo/workflows/deploy_test2.yml
Normal file
0
.forgejo/workflows/deploy_test2.yml
Normal file
Loading…
Reference in a new issue