Skip to content

Commit 6b7404f

Browse files
authored
Enhance build workflow with apt-get update
Updated build workflow to include apt-get update and remove mirror file before installing dependencies.
1 parent 6257cfb commit 6b7404f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
run: rm package-lock.json
1515
- name: Install dependencies
1616
run: |
17+
sudo rm -f /etc/apt/apt-mirrors.txt
18+
sudo apt-get update
1719
sudo apt-get install -y libvips-dev build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
1820
- name: Build Site
1921
run: |
@@ -75,3 +77,4 @@ jobs:
7577
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
7678
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
7779
run: npx netlify-cli deploy --dir=public --prod
80+

0 commit comments

Comments
 (0)