Skip to content

Commit

Permalink
Add deployment for strato
Browse files Browse the repository at this point in the history
  • Loading branch information
Daanvm committed Oct 12, 2024
1 parent 7fca0f6 commit 2148d04
Showing 1 changed file with 35 additions and 0 deletions.
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

0 comments on commit 2148d04

Please sign in to comment.