Skip to content

Commit

Permalink
fix(ci): path director fix on docker build and refactor on deply web …
Browse files Browse the repository at this point in the history
…nightly
  • Loading branch information
pyshx committed Apr 25, 2023
1 parent fbbb766 commit 7c72ea3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci_deploy_web_nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ jobs:
uses: google-github-actions/setup-gcloud@v0
- uses: dsaltares/fetch-gh-release-asset@master
with:
repo: reearth/reearth
version: tags/nightly
file: reearth-web_nightly.tar.gz
token: ${{ secrets.GITHUB_TOKEN }}xx`
token: ${{ secrets.GITHUB_TOKEN }}
- run: tar -xvf reearth-web_nightly.tar.gz
- name: rsync
run: gsutil -m -h "Cache-Control:no-store" rsync -x "^reearth_config\\.json$" -dr reearth-web/ $GCS_DEST
3 changes: 1 addition & 2 deletions .github/workflows/ci_docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
target: server/reearth-web.tar.gz
- name: Extract reearth/web
run: tar -xvf server/reearth-web.tar.gz; mv server/reearth-web server/web; ls server
run: tar -xvf reearth-web.tar.gz; mv reearth-web web; ls
- name: Build and push docker image
uses: docker/build-push-action@v2
with:
Expand All @@ -68,7 +68,6 @@ jobs:
tags: ${{ steps.options.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Invoke ci-deploy-server-nightly workflow
uses: benc-uk/workflow-dispatch@v1
if: needs.info.outputs.name == 'nightly'
Expand Down

0 comments on commit 7c72ea3

Please sign in to comment.