This commit is contained in:
commit
7d364cdfac
69 changed files with 5268 additions and 0 deletions
28
.forgejo/workflows/deploy-configs.yml
Normal file
28
.forgejo/workflows/deploy-configs.yml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
name: Deploy configs
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
deploy-configs:
|
||||
runs-on: runner
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Set up SSH
|
||||
env:
|
||||
DEPLOY_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
|
||||
run: |
|
||||
echo "$DEPLOY_KEY" > ssh_deploy_key
|
||||
chmod 600 ssh_deploy_key
|
||||
|
||||
cat <<EOF > ssh_config
|
||||
Host *
|
||||
IdentityFile $(pwd)/ssh_deploy_key
|
||||
EOF
|
||||
|
||||
- name: Deploy configs
|
||||
run: deploy . --skip-checks
|
||||
Loading…
Add table
Add a link
Reference in a new issue