Skip to content

Commit

Permalink
Use github-provided runner
Browse files Browse the repository at this point in the history
  • Loading branch information
maybeetree committed Jun 11, 2024
1 parent 3428a79 commit 323d42f
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,15 @@ on:

jobs:
build:
# runs-on: alpine-latest
runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- name: checkout repo
uses: actions/checkout@v2

# - name: get graphviz and python
# run: |
# xbps-install -Syu
# xbps-install -Syu graphviz python3
#
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'

- name: create venv
run: |
Expand All @@ -36,16 +34,16 @@ jobs:
- name: build raidoc
run: |
source venv/bin/activate
python -m raidoc build
python -m raidoc build \
raimad
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./build

deploy:
#runs-on: alpine-latest
runs-on: self-hosted
runs-on: ubuntu-latest

permissions:
pages: write
Expand Down

0 comments on commit 323d42f

Please sign in to comment.