Skip to content

Feature/initial design #68

Feature/initial design

Feature/initial design #68

Workflow file for this run

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Test build
on:
pull_request:
branches:
- "main"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Install mysgen
run: pip install https://github.com/mgcth/mysgen/archive/master.zip
- name: Copy data content
run: |
sshpass -p "${{ secrets.PASSWORD }}" rsync -r -e "ssh -o StrictHostKeyChecking=no -p${{ secrets.PORT }}" ${{ secrets.USER }}@${{ secrets.HOST }}:ingenjorsarbeteforklimatet.se/content/data/ content/data/
- name: Build site
run: python -m mysgen.mysgen && cp -r theme/css/ output/css/ && mv output _site