Skip to content

Commit

Permalink
chore(github-action): update github action to not use self-hosted runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Murphy committed Jan 24, 2024
1 parent 2d61313 commit 066e56d
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/build-and-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,16 @@ on: # yamllint disable-line rule:truthy
push:
jobs:
build:
runs-on: self-hosted
# runs-on: ubuntu-latest
# when running on self-hosted, uncomment the following and comment out the subsequent line
# runs-on: self-hosted
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# - uses: DeterminateSystems/nix-installer-action@main
# - uses: DeterminateSystems/magic-nix-cache-action@main
# when running on a self-hosted nixos system, I removed the following 2 uses...
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: |
scripts/build_and_push_image.sh
env:
Expand Down

0 comments on commit 066e56d

Please sign in to comment.