Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese authored Oct 2, 2024
1 parent 774e337 commit abfd1b5
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,9 @@ jobs:
git config --global url.https://github.com/.insteadOf git://github.com/
git clone --recurse-submodules -j8 https://github.com/lemmynet/${{ github.event.repository.name }}.git --single-branch --branch ${{ env.latest_tag }}
cp Dockerfile ${{ github.event.repository.name }}/
cp .dockerignore ${{ github.event.repository.name }}/
-
name: Build Docker image
if: env.exists == 'xfalse'
if: env.exists == 'false'
uses: docker/build-push-action@v6
with:
context: ./${{ github.event.repository.name }}
Expand Down Expand Up @@ -160,10 +159,9 @@ jobs:
name: Copy custom code
if: env.exists == 'false'
run: |
diff crates/db_schema/src/utils.rs ${{ github.event.repository.name }}/crates/db_schema/src/utils.rs
cmp crates/apub/src/objects/post.rs ${{ github.event.repository.name }}/crates/apub/src/objects/post.rs
cmp crates/api_common/src/request.rs ${{ github.event.repository.name }}/crates/api_common/src/request.rs
exit 33
cp crates/db_schema/src/utils.rs ${{ github.event.repository.name }}/crates/db_schema/src/utils.rs
cp crates/apub/src/objects/post.rs ${{ github.event.repository.name }}/crates/apub/src/objects/post.rs
cp crates/api_common/src/request.rs ${{ github.event.repository.name }}/crates/api_common/src/request.rs
-
name: Build custom image
if: env.exists == 'false'
Expand Down

0 comments on commit abfd1b5

Please sign in to comment.