Skip to content

Commit

Permalink
cicd: add action for github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianfgross committed May 28, 2024
1 parent b9eb9ef commit c8f39d8
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,18 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
# check out repo
- uses: actions/checkout@v4
# install all deps in pipenv
- name: install_deps
uses: VaultVulp/[email protected]
with:
python-version: '3.12'

- name: Install Pipenv
run: pip install pipenv

- name: Install dependencies
run: pipenv install

- name: Run Python script
run: pipenv run python stella.py -fh -ah -hcp EXAMPLE/prometheus -o ./index.html
command: install
# run stella
- name: install_deps
uses: VaultVulp/[email protected]
with:
command: run python stella.py -fh -ah -hcp EXAMPLE/prometheus -o ./index.html

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
Expand Down

0 comments on commit c8f39d8

Please sign in to comment.