Skip to content

Commit dcc50b1

Browse files
authored
Refactor GitHub Actions build workflow
Updated build workflow to fix apt sources and improve installation steps.
1 parent 6b7404f commit dcc50b1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
- name: Install dependencies
1616
run: |
1717
sudo rm -f /etc/apt/apt-mirrors.txt
18+
echo "deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse" | sudo tee /etc/apt/sources.list
1819
sudo apt-get update
1920
sudo apt-get install -y libvips-dev build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
2021
- name: Build Site
@@ -78,3 +79,4 @@ jobs:
7879
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
7980
run: npx netlify-cli deploy --dir=public --prod
8081

82+

0 commit comments

Comments
 (0)