feat: add link to logo #168
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to Uberspace | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
name: Build and Deploy | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup PHP | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: '8.0' | |
- name: Checkout repo from GitHub | |
uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Install NPM build dependencies | |
run: npm i | |
- name: Install Composer dependencies | |
run: composer install | |
- name: Compile SASS Stylesheets | |
run: ./node_modules/sass/sass.js assets/sass/main.scss assets/css/main.css --style=compressed | |
- name: Deploy to Uberspace | |
uses: easingthemes/[email protected] | |
env: | |
ARGS: "-avzrh --delete --exclude '/node_modules/' --exclude '/content/' --exclude '/site/sessions/' --exclude '/site/config/config.php' --exclude '/site/config/.license' --exclude '/site/accounts/' --exclude '/site/cache/' --exclude '/media/'" | |
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }} | |
REMOTE_HOST: ${{ secrets.REMOTE_HOST }} | |
REMOTE_USER: ${{ secrets.REMOTE_USER }} | |
TARGET: "/home/welcome/welcome/www.welcome-werkstatt.de" |