Compare commits
No commits in common. "d7ad9f88b7ef151c35867023f779fbe4b0d87350" and "4b77e113086e375564339cc7d93bcc3b4e670e9f" have entirely different histories.
d7ad9f88b7
...
4b77e11308
@ -1,34 +0,0 @@
|
|||||||
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
5
.vscode/settings.json
vendored
@ -1,5 +0,0 @@
|
|||||||
{
|
|
||||||
"gitea.owner": "audrey",
|
|
||||||
"gitea.repo": "intranet",
|
|
||||||
"gitea.instanceURL": "https://gitea.jv.com"
|
|
||||||
}
|
|
||||||
Loading…
x
Reference in New Issue
Block a user