HandyLinks #HL is an archive of helpful links.
10015 All Online Tools in “One Box”
how-to-use-css-box-model-and-style-svg-images
- weworkremotely.com
- virtualvocations.com
- workingnomads.com
- freshersworld.com
- remoteok.com
- justremote.co
- flexjobs.com
- crossover.com
- simplyhired.com
- angel.co
- toggl.com
- remote.co
Notion-solidifying-documentation
Docker-Beginners-tutorial-by-mosh
#!/bin/bash set -e
echo "Deployment started ..."
(cp .env.example .env) || true
(php artisan down) || true
changed=0 git remote update && git status -uno | grep -q 'Your branch is behind' && changed=1 if [ $changed = 1 ]; then
git fetch git (ssh://git@ssh.github.com:443/bazzlylinks/geotech-web.git)
git pull ssh://git@ssh.github.com:443/bazzlylinks/geotech-web.git php artisan migrate --force php artisan optimize:clear php artisan up echo "Updated successfully"; else
php artisan up echo "Up-to-date" fi
echo "Deployment finished!"
name: 🚀 Deploy on push main
on:
push:
branches:
- main
jobs: web-deploy: name: 🎉 Deploy runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v2
- name: Copy .env
run: cp .env.example .env
- name: Install composer Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Install node dependencies
run: npm ci
- name: Directory Permissions
run: chmod 755 -R storage bootstrap/cache
- name: 📂 Deploy to server via ssh
uses: appleboy/ssh-action@v0.1.7
with:
host: "hostIp"
username: 'HostUsername"
password: "hostPass"
port: "hostPort"
script: "cd /home/u665214148/public_html && sh ./.scripts/deploy.sh"
Options -MultiViews -Indexes
RewriteEngine On RewriteCond %{REQUEST_URI} !^public
RewriteRule ^(.*)$ public/$1 [L]
RewriteCond %{HTTP:Authorization} .
RewriteRule .* — [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} (.+)/$
RewriteRule ^ %1 [L,R=301]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]