add outreachy 2024 project, remove GSoC 2024 projects #2701
Workflow file for this run
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: Build and Deploy CC Open Source | |
on: [push, pull_request] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/actions/setup-python | |
- name: setup python version | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.11 | |
- name: Install pipenv | |
run: | | |
pip install --upgrade pip | |
pip install pipenv | |
# https://github.com/actions/checkout | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: pipenv sync | |
- name: Build static site and use webpack | |
run: pipenv run lektor build -f webpack | |
- name: Deploy to production | |
if: github.ref == 'refs/heads/main' | |
run: | | |
pipenv run lektor deploy ghpages --username ${{ secrets.LEKTOR_DEPLOY_USERNAME }} --password ${{ secrets.LEKTOR_DEPLOY_PASSWORD }} |