mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 19:04:41 -04:00
Working on github actions (#3545)
* Update .env.ci * Update .env.ci * Update .env.ci * Update .env.example * Update release.yml * Update release.yml * Update .env.ci
This commit is contained in:
parent
1256d44660
commit
f1287e9868
11
.env.ci
11
.env.ci
@ -3,13 +3,12 @@ APP_ENV=local
|
|||||||
APP_KEY=
|
APP_KEY=
|
||||||
APP_DEBUG=true
|
APP_DEBUG=true
|
||||||
APP_URL=http://ninja.test
|
APP_URL=http://ninja.test
|
||||||
DB_CONNECTION=db-ninja-01
|
|
||||||
DB_DATABASE1=ninja
|
|
||||||
MULTI_DB_ENABLED=false
|
MULTI_DB_ENABLED=false
|
||||||
# database
|
# database
|
||||||
DB_HOST1=localhost
|
DB_CONNECTION=db-ninja-01
|
||||||
DB_PORT1=3306
|
DB_DATABASE=ninja
|
||||||
DB_USERNAME1=root
|
DB_USERNAME=root
|
||||||
DB_PASSWORD1=ninja
|
DB_PASSWORD=ninja
|
||||||
|
|
||||||
NINJA_ENVIRONMENT=selfhost
|
NINJA_ENVIRONMENT=selfhost
|
||||||
COMPOSER_AUTH='{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
|
COMPOSER_AUTH='{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
|
||||||
|
@ -55,3 +55,5 @@ SELF_UPDATER_REPO_NAME = invoiceninja
|
|||||||
SELF_UPDATER_USE_BRANCH = v2
|
SELF_UPDATER_USE_BRANCH = v2
|
||||||
SELF_UPDATER_MAILTO_ADDRESS = user@example.com
|
SELF_UPDATER_MAILTO_ADDRESS = user@example.com
|
||||||
SELF_UPDATER_MAILTO_NAME = "John Doe"
|
SELF_UPDATER_MAILTO_NAME = "John Doe"
|
||||||
|
COMPOSER_AUTH='{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
|
||||||
|
|
||||||
|
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@ -19,6 +19,10 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
ref: v2
|
ref: v2
|
||||||
|
|
||||||
|
- name: Copy .env file
|
||||||
|
run: |
|
||||||
|
cp .env.example .env
|
||||||
|
|
||||||
- name: Install composer dependencies
|
- name: Install composer dependencies
|
||||||
run: |
|
run: |
|
||||||
composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}
|
composer config -g github-oauth.github.com ${{ secrets.GITHUB_TOKEN }}
|
||||||
@ -42,7 +46,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Get tag name
|
- name: Get tag name
|
||||||
id: get_tag_name
|
id: get_tag_name
|
||||||
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
|
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}-release
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
id: create_release
|
id: create_release
|
||||||
|
Loading…
x
Reference in New Issue
Block a user