Update CI workflow to use Ubuntu 22.04 container and streamline dependency installation
CI / build (push) Has been skipped
CI / deploy (push) Failing after 9s

- Added a container specification for Ubuntu 22.04 to the CI workflow.
- Included a step to install curl and ca-certificates for improved dependency management.
- Simplified the installation commands by removing 'sudo' for apt-get operations.
This commit is contained in:
eewing
2026-02-17 09:55:57 -06:00
parent b01620a2b4
commit 8c9d12c0db
+6 -1
View File
@@ -34,10 +34,15 @@ jobs:
deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
container:
image: ubuntu:22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install curl and ca-certificates
run: apt-get update -qq && apt-get install -y curl ca-certificates
- name: Install Bun
run: |
curl -fsSL https://bun.sh/install | bash
@@ -45,7 +50,7 @@ jobs:
echo "PATH=$HOME/.bun/bin:$PATH" >> $GITHUB_ENV
- name: Install deploy tools
run: sudo apt-get update -qq && sudo apt-get install -y rsync openssh-client sshpass
run: apt-get update -qq && apt-get install -y rsync openssh-client sshpass
- name: Install dependencies
run: bun install --frozen-lockfile