Skip to content

Commit

Permalink
Add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
julianstirling committed Mar 25, 2024
1 parent 02c93b5 commit e8fe1e3
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/gitbuilding.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

name: Deploy Gitbuilding Project to Github Pages

on: [push]

jobs:
build_and_deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: Install Python 3
uses: actions/setup-python@v1
with:
python-version: "3.7"
- name: Build
run: |
pip install gitbuilding
gitbuilding build-html
- name: Deploy
uses: JamesIves/github-pages-deploy-action@3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: master
FOLDER: _site/
# Automatically remove deleted files from the deploy branch
CLEAN: false

0 comments on commit e8fe1e3

Please sign in to comment.