Skip to content

Commit

Permalink
update runners: from self-hosted to github ubuntu-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian committed Jun 7, 2024
1 parent 2a5f7b6 commit 64f4851
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ on:
jobs:
build:
name: Kheops-compiled Docker ${{ github.event_name }}
runs-on: [self-hosted]
runs-on: [ubuntu-latest]
steps:
- name: Checkout current project repository
uses: actions/checkout@v3
with:
path: testing_project_Angular
path: ${{ env.REPOSITORY_DIR }}
- name: Comment PR
uses: thollander/actions-comment-pull-request@v2
with:
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
docker run --rm -u "$(id -u):$(id -g)" -v "$PWD:/home/debian/src" terrastruct/d2:v0.6.5 ./output/diagram.d2 ./output/diagram.png
echo '```' >> $GITHUB_OUTPUT
echo "![Diagram]($(curl -X POST "https://api.imgbb.com/1/upload" -F "key=a1c8eaba9c93fdb65c7961d1d74b7ef4" -F "image=@./output/diagram.png" | jq -r '.data.image.url'))" >> $GITHUB_OUTPUT
echo "![Diagram]($(curl -X POST "https://api.imgbb.com/1/upload" -F "key=${{ secrets.IMGBB_KEY }}" -F "image=@./output/diagram.png" | jq -r '.data.image.url'))" >> $GITHUB_OUTPUT
echo 'EOF' >> $GITHUB_OUTPUT
- name: Edit PR comment
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ on:
jobs:
build:
name: Kheops-compiled Docker ${{ github.event_name }}
runs-on: [self-hosted]
runs-on: [ubuntu-latest]
steps:
- name: Checkout current project repository
uses: actions/checkout@v3
with:
path: testing_project_Angular
path: ${{ env.REPOSITORY_DIR }}
- id: pull_docker_image
name: Pull Kheops-compiled container image
run: |
Expand Down

0 comments on commit 64f4851

Please sign in to comment.