Compare commits
18 Commits
4b77e11308
...
d7ad9f88b7
| Author | SHA1 | Date | |
|---|---|---|---|
| d7ad9f88b7 | |||
| d9398b994c | |||
| 478fa849d0 | |||
| 7698f94869 | |||
| ae4451fbb0 | |||
| 8b73484275 | |||
| 139e370e24 | |||
| 01f150b1ce | |||
|
|
44cde46169 | ||
|
|
4027a396fe | ||
|
|
821a161a3a | ||
|
|
08e7593f5d | ||
|
|
6647ec36aa | ||
|
|
6fe415f6cf | ||
|
|
3b98d508e7 | ||
|
|
5d69219d71 | ||
|
|
1ffe8975b1 | ||
|
|
c6ddddc0e1 |
34
.gitea/workflows/production-deploy.yaml
Normal file
34
.gitea/workflows/production-deploy.yaml
Normal 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
5
.vscode/settings.json
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
{
|
||||
"gitea.owner": "audrey",
|
||||
"gitea.repo": "intranet",
|
||||
"gitea.instanceURL": "https://gitea.jv.com"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user