From 179dd20bae7e678ecece775a618de876b2ee3eef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sondre=20Gr=C3=B8n=C3=A5s?= <44143748+sondregronas@users.noreply.github.com> Date: Wed, 21 Aug 2024 15:56:34 +0200 Subject: [PATCH] Update pages.yml --- .github/workflows/pages.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 86588f2..6634c51 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -27,6 +27,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + with: + ref: main - name: Set up Python uses: actions/setup-python@v5 @@ -37,7 +39,9 @@ jobs: run: docker compose -f docker-compose.pages.yml up -d - name: Run web scraper to build static site - run: python .github/workflows/web_scraper.py + run: | + pip install requests + python .github/workflows/web_scraper.py - name: Copy static into .github/workflows/demo run: cp -r piggy/static .github/workflows/demo