Skip to content

update presensi

update presensi #13

Workflow file for this run

on:
push:
branches:
- master
name: πŸš€ Deploy website
jobs:
web-deploy:
name: πŸŽ‰ Deploy
runs-on: ubuntu-latest
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Install Dependencies
run: composer update --ignore-platform-reqs
- name: NPM Install
run: npm install && npm run build
- name: Generate key
run: php artisan key:generate
- name: Directory Permissions
run: chmod -R 775 storage
- name: πŸ“‚ Sync files
uses: SamKirkland/[email protected]
with:
server: ${{ secrets.FTP_SERVER }}
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
server-dir: /public_html/