feat: Initial composer install
Some checks failed
WordPress deployment / deploy (push) Failing after 3s
Some checks failed
WordPress deployment / deploy (push) Failing after 3s
This commit is contained in:
@@ -5,10 +5,26 @@ on: [push]
|
|||||||
jobs:
|
jobs:
|
||||||
deploy:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
env:
|
||||||
|
COMPOSER_CACHE_DIR: ~/.cache/composer
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Show current working directory
|
||||||
|
run: pwd
|
||||||
|
|
||||||
|
- name: Display existing composer cache (if runner reused)
|
||||||
|
run: ls -la $COMPOSER_CACHE_DIR || echo "No cache found"
|
||||||
|
|
||||||
|
- name: Install PHP dependencies
|
||||||
|
run: |
|
||||||
|
php -v
|
||||||
|
composer --version
|
||||||
|
composer install --no-interaction --prefer-dist --optimize-autoloader
|
||||||
|
|
||||||
- name: Clone WordPress scripts
|
- name: Clone WordPress scripts
|
||||||
env:
|
env:
|
||||||
TEMPLATES_REPO_TOKEN: ${{ secrets.TEMPLATES_REPO_TOKEN }}
|
TEMPLATES_REPO_TOKEN: ${{ secrets.TEMPLATES_REPO_TOKEN }}
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1,3 +1,4 @@
|
|||||||
/*
|
/*
|
||||||
!/.gitea
|
!/.gitea
|
||||||
!/.gitignore
|
!/.gitignore
|
||||||
|
!/composer.*
|
||||||
|
|||||||
3
composer.json
Normal file
3
composer.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"name": "wp-sites/wp-skeleton"
|
||||||
|
}
|
||||||
18
composer.lock
generated
Normal file
18
composer.lock
generated
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{
|
||||||
|
"_readme": [
|
||||||
|
"This file locks the dependencies of your project to a known state",
|
||||||
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
|
"This file is @generated automatically"
|
||||||
|
],
|
||||||
|
"content-hash": "6acb315fc71daec54cc1b9d8a17898b0",
|
||||||
|
"packages": [],
|
||||||
|
"packages-dev": [],
|
||||||
|
"aliases": [],
|
||||||
|
"minimum-stability": "stable",
|
||||||
|
"stability-flags": [],
|
||||||
|
"prefer-stable": false,
|
||||||
|
"prefer-lowest": false,
|
||||||
|
"platform": [],
|
||||||
|
"platform-dev": [],
|
||||||
|
"plugin-api-version": "2.6.0"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user