Skip to content

Styling updates

Styling updates #24

Workflow file for this run

on:
push:
branches: [master, main]
name: πŸš€ Deploy website on push
jobs:
web-deploy:
name: πŸŽ‰ Deploy
runs-on: ubuntu-latest
env:
HUGO_VERSION: 0.115.1
steps:
- name: 🚚 Get latest code
uses: actions/checkout@v3
- name: Install Hugo CLI
run: |
wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \
&& sudo dpkg -i ${{ runner.temp }}/hugo.deb
- name: Build with Hugo
env:
# For maximum backward compatibility with Hugo modules
HUGO_ENVIRONMENT: production
HUGO_ENV: production
run: cd main && git submodule update --init --recursive && hugo
- name: πŸ“‚ Sync files
uses: SamKirkland/[email protected]
with:
server: ftp.joern.io
username: ${{ secrets.ftps_username }}
password: ${{ secrets.ftps_password }}
protocol: ftps
server-dir: public_html/
local-dir: main/public/