Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy to strato #1

Merged
merged 12 commits into from
Dec 19, 2024
Next Next commit
Add deployment for strato
Daanvm committed Oct 12, 2024
commit 2148d049e4923f13e88e3ac1875ca58d709ce226
35 changes: 35 additions & 0 deletions .github/workflows/deploy-strato.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
on:
push:
branches:
- master
- deploy-strato

jobs:
build:
name: Build website zip
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v3

# TODO: maybe install imagick

- name: Install dependencies
uses: php-actions/composer@v4
with:
composer_version: 1
php_version: 8.0
#ssh_key: ${{ secrets.SSH_KEY }}
#ssh_key_pub: ${{ secrets.SSH_KEY_PUB }}

# TODO: rename from warmup to build, it's no longer a warmup now.
- name: Run warmup script
run: ${GITHUB_WORKSPACE}/app/scripts/christelmusic warmup
shell: bash

# TODO: remove debug
- name: Debug print all files
run: find ${GITHUB_WORKSPACE}
shell: bash

# TODO: upload to sftp