mirror of
https://github.com/FriendsOfTYPO3/tea.git
synced 2024-11-25 21:56:13 +01:00
[FEATURE] Add TER release via github actions (#189)
Co-authored-by: Łukasz Uznański <l.uznanski@macopedia.com>
This commit is contained in:
parent
d54111edf7
commit
2aae18c2b1
2 changed files with 34 additions and 0 deletions
17
.github/workflows/publish.yml
vendored
Normal file
17
.github/workflows/publish.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
name: Publish
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "**"
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: "Checkout"
|
||||
uses: actions/checkout@v2
|
||||
- name: "Publish new version to TER"
|
||||
uses: tomasnorre/typo3-upload-ter@v2
|
||||
with:
|
||||
api-token: ${{ secrets.TYPO3_API_TOKEN }}
|
|
@ -114,6 +114,23 @@
|
|||
"link-extension": [
|
||||
"@php -r 'is_dir($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/\") || mkdir($extFolder, 0777, true);'",
|
||||
"@php -r 'file_exists($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/tea\") || symlink(__DIR__,$extFolder);'"
|
||||
],
|
||||
"prepare-release": [
|
||||
".gitignore",
|
||||
"rm -rf .Build",
|
||||
"rm -rf .github",
|
||||
"rm -rf .gitlab",
|
||||
"rm -rf Tests",
|
||||
"rm .editorconfig",
|
||||
"rm .gitattributes",
|
||||
"rm .php_cs.php",
|
||||
"rm /Resources/Private/.eslintignore",
|
||||
"rm /Resources/Private/.eslintrc.json",
|
||||
"rm /Resources/Private/.prettierrc.js",
|
||||
"rm /Resources/Private/package.json",
|
||||
"rm /Resources/Private/stylelint.config.js",
|
||||
"rm codeception.yml",
|
||||
"rm phpcs.xml"
|
||||
]
|
||||
},
|
||||
"support": {
|
||||
|
|
Loading…
Reference in a new issue