Skip to content

Commit

Permalink
[BUGFIX] Fix minor mishaps in deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
andreaskienast committed Feb 14, 2024
1 parent 97b7d76 commit 1ca2991
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/docs-search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,14 @@ jobs:
SSH_AUTH_SOCK: /tmp/ssh-auth.sock
run: |
/home/runner/.composer/vendor/bin/mage deploy main -vvv
- name: Archive Logs
uses: actions/upload-artifact@v4
if: always()
with:
name: logs
path: .mage/logs

- name: Echo logs
run: find .mage/logs/ -type f -exec cat {} +
if: always()
8 changes: 5 additions & 3 deletions .mage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,20 @@ magephp:
exclude:
- ./.ddev
- ./.git
- ./.github
- ./.vscode
- ./.gitattributes
- ./.gitignore
- ./.github
- ./.mage
- ./.env
- ./.mage.yml
- ./var
- ./.php_cs.cache
- ./.php_cs.dist
- ./.php-cs-fixer.dist.php
- ./.phpunit.result.cache
- ./auth.json
- ./phpunit.xml.dist
- ./tests
environments:
main:
user: prod.docs.typo3.com
Expand All @@ -28,7 +31,6 @@ magephp:
- exec: { cmd: "echo \"APP_ENV=prod\" >> .env" }
- composer/install: { flags: "--no-interaction --no-dev --optimize-autoloader --ansi" }
on-deploy:
- fs/link: { from: "../../../shared/var", to: "var" }
- fs/link: { from: "../../../shared/.env", to: ".env" }
on-release:
post-release:
Expand Down

0 comments on commit 1ca2991

Please sign in to comment.