Compare commits

..

18 Commits

Author SHA1 Message Date
d7ad9f88b7
correct var access context 2024-08-14 09:50:49 -05:00
d9398b994c
completed deployment workflow 2024-08-14 09:50:49 -05:00
478fa849d0
gitea issues plugin config 2024-08-14 09:50:48 -05:00
7698f94869
host key officially good 2024-08-14 09:50:48 -05:00
ae4451fbb0
nothing new 2024-08-14 09:50:48 -05:00
8b73484275
another host attempt 2024-08-14 09:50:48 -05:00
139e370e24
correct public host key 2024-08-14 09:50:48 -05:00
01f150b1ce
add gitea public key to known hosts 2024-08-14 09:50:48 -05:00
Audrey Jensen
44cde46169
disable strict checking 2024-08-14 09:50:48 -05:00
Audrey Jensen
4027a396fe
set correct known hosts 2024-08-14 09:50:47 -05:00
Audrey Jensen
821a161a3a
set known hosts 2024-08-14 09:50:47 -05:00
Audrey Jensen
08e7593f5d
no strict ssh host 2024-08-14 09:50:47 -05:00
Audrey Jensen
6647ec36aa
read deploy key 2024-08-14 09:50:47 -05:00
Audrey Jensen
6fe415f6cf
fix trigger 2024-08-14 09:50:47 -05:00
Audrey Jensen
3b98d508e7
remove demo 2024-08-14 09:50:47 -05:00
Audrey Jensen
5d69219d71
testing repo pull 2024-08-14 09:50:46 -05:00
Audrey Jensen
1ffe8975b1
fix label 2024-08-14 09:50:46 -05:00
Audrey Jensen
c6ddddc0e1
demo runner 2024-08-14 09:50:46 -05:00
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,34 @@
name: Gitea Actions Demo
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on:
push:
branches:
- master
jobs:
Deploy:
name: Deploy Project files
runs-on: intranet
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
SSH-KEY: ${{secrets.read_key}}
SSH-KNOWN-HOSTS: gitea.jv.com,192.168.0.214 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHsv90d6ofdNgJx0W6zPTVpouqDeF/qv/L0guzFBg6YON4jiubCovUZ0h7M8ipg/kXACHLfNBWAmNvsaGrPpHNU=
SSH-STRICT: 'false'
- name: Copy files to project dir
run: |
mkdir ${{ var.PROD_DEPLOY_DIR }}
xcopy /E /I . ${{ var.PROD_DEPLOY_DIR }}
- name: Update Composer Packages
working-directory: ${{ var.PROD_DEPLOY_DIR }}
run: composer update
- name: Refresh Site Cache
working-directory: ${{ var.PROD_DEPLOY_DIR }}
run: |
php bin/console cache:clear
php bin/console cache:pool:prune
php bin/console cache:warmup

5
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"gitea.owner": "audrey",
"gitea.repo": "intranet",
"gitea.instanceURL": "https://gitea.jv.com"
}