Skip to content

Commit

Permalink
fix: develop.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Musicminion authored Apr 8, 2024
1 parent fb1fb7e commit fa5d98d
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,16 @@ jobs:
contacts,
chat,
clsi,
spelling
spelling,
references
]
steps:
- name: "Check out code"
- name: "Checkout Internal Overleaf Action"
uses: actions/checkout@main
with:
repository: ayaka-notes/overleaf-internal
ref: dev
token: ${{secrets.ORGTOKEN}}
- name: "Login to GitHub Container Registry"
uses: docker/[email protected]
with:
Expand All @@ -38,14 +43,10 @@ jobs:
password: ${{secrets.GITHUB_TOKEN}}
- name: "Clone Overleaf And Build"
run: |
git clone https://github.com/overleaf/overleaf ./overleaf
cp ./dev-patches/web-dockerfile/Dockerfile ./overleaf/services/web/Dockerfile
cd ./overleaf/develop/
cd ./overleaf/develop-pro/
bin/build ${{matrix.image-name}}
- name: "Push Image"
run: |
docker tag develop-${{matrix.image-name}} ${{env.GHCR_REGISTRY}}/ayaka-notes/overleaf/dev/${{matrix.image-name}}:latest
docker push ${{env.GHCR_REGISTRY}}/ayaka-notes/overleaf/dev/${{matrix.image-name}}:latest
bin/push ${{matrix.image-name}}
clean-image:
runs-on: ubuntu-latest
needs: build-image
Expand Down

0 comments on commit fa5d98d

Please sign in to comment.