Skip to content

Commit

Permalink
build: provision data
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesdring committed Jan 9, 2025
1 parent 5779b3d commit fd91bd4
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build-site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,37 @@ jobs:

# Packaged action to build a Lume site. See https://github.com/dringtech/lume-build
steps:

- name: Setup python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pipenv

- name: Setup pipenv
run: |
pip install pipenv
pipenv install
- name: Get current data
run: |
umask 077
eval $(ssh-agent -s)
echo "${{ secrets.DEPLOY_KEY }}" > deploy-key
ssh-add deploy-key
pipenv run dvc update data/published.dvc data/metadata.dvc
ssh-add -D
echo "${{ secrets.DEPLOY_KEY_HUQ }}" > deploy-key-huq
ssh-add deploy-key-huq
pipenv run dvc update data/huq.dvc
ssh-add -D
- name: Run pipelines
run: |
pipenv run dvc repro pipelines/dvc.yaml
- name: Build the site
uses: dringtech/lume-build@v3
with:
Expand Down

0 comments on commit fd91bd4

Please sign in to comment.