Skip to content

Commit

Permalink
chore: dont use github workspace
Browse files Browse the repository at this point in the history
  • Loading branch information
althafdaa committed Sep 3, 2024
1 parent c6fdf67 commit d993464
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ jobs:
run: |
container_id=$(docker create ${{ vars.DOCKER_REGISTRY_LOCATION }}/${{ secrets.GOOGLE_PROJECT }}/inner-catalog/catalog-ui:dev-${{ github.run_id }})
docker create --name temp ${{ vars.DOCKER_REGISTRY_LOCATION }}/${{ secrets.GOOGLE_PROJECT }}/inner-catalog/catalog-ui:dev-${{ github.run_id }}
mkdir -p $GITHUB_WORKSPACE/temporary/.next/static
docker cp temp:/app/.next/static $GITHUB_WORKSPACE/temporary/.next/static
mkdir -p ./temporary/.next/static
docker cp temp:/app/.next/static ./temporary/.next/static
docker rm temp
- name: Upload static files to R2 bucket
Expand All @@ -74,7 +74,7 @@ jobs:
r2-access-key-id: ${{ secrets.R2_ACCESS_KEY_ID }}
r2-secret-access-key: ${{ secrets.R2_SECRET_ACCESS_KEY }}
r2-bucket: ${{ secrets.R2_BUCKET }}
source-dir: $GITHUB_WORKSPACE/temporary/.next/static
source-dir: ./temporary/.next/static
destination-dir: ./static/development

deploy:
Expand Down

0 comments on commit d993464

Please sign in to comment.