Skip to content

Commit

Permalink
Migrate to new Github action
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-helmich committed Aug 28, 2020
1 parent 3552309 commit 9fa4eae
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 34 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,15 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_USER_TOKEN }}

- name: Release ZIP on TER
- name: Prepare TER release
run: |
composer publish-package
env:
TER_USERNAME: ${{ secrets.TER_USERNAME }}
TER_PASSWORD: ${{ secrets.TER_PASSWORD }}
mkdir ter-upload
unzip -d ter-upload ./web2pdf_*.zip
- name: Release ZIP on TER
uses: mittwald/[email protected]
with:
ter-username: ${{ secrets.TER_USERNAME }}
ter-password: ${{ secrets.TER_PASSWORD }}
extension-key: web2pdf
extension-dir: ./ter-upload
28 changes: 0 additions & 28 deletions Build/publish-version.sh

This file was deleted.

1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
},
"scripts": {
"extension-package": ["bash -x Build/package-version.sh"],
"publish-package": ["bash -x Build/publish-version.sh"],
"post-autoload-dump": [
"mkdir -p public/typo3conf/ext/",
"[ -L public/typo3conf/ext/web2pdf ] || ln -snvf ../../../. public/typo3conf/ext/web2pdf"
Expand Down

0 comments on commit 9fa4eae

Please sign in to comment.