Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
istarkov committed Apr 19, 2024
1 parent cccb9dd commit ed619b0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/cli-r2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ jobs:

- name: pnpm deploy cloudflare template
run: |
echo $HOME
echo "${{ github.workspace }}"
echo -------
pwd
echo --INSTALL--
pnpm install --ignore-scripts
echo --BUILD--
pnpm --filter 'webstudio-cloudlfare-template^...' run build
echo --DEPLOY--
pnpm --filter 'webstudio-cloudlfare-template' deploy ../cloudlfare-template
pnpm --filter 'webstudio-cloudlfare-template' deploy "${{ github.workspace }}/../cloudlfare-template"
- name: cleanup cloudflare template
run: |
Expand All @@ -55,12 +55,12 @@ jobs:
find . -name 'eslint@*' -type d -prune -exec rm -rf '{}' + && \
find . -name '@types+node@*' -type d -prune -exec rm -rf '{}' + && \
find . -name '@cloudflare+workers-types@*' -type d -prune -exec rm -rf '{}' +
working-directory: ${{ runner.temp }}/cloudlfare-template
working-directory: ${{ github.workspace }}/../cloudlfare-template

- name: Make archive
run: |
tar --use-compress-program="zstd -19" -cf cloudlfare-template.tar.zst cloudlfare-template
working-directory: ${{ runner.temp }}
working-directory: ${{ github.workspace }}/..

- name: Copy artifact
run: |
Expand All @@ -74,7 +74,7 @@ jobs:
--no-check-dest \
cloudlfare-template.tar.zst "r2:/${process.env.ARTEFACT_BUCKET_NAME}/public/cloudlfare-template/${{ github.sha }}.tar.zst
working-directory: ${{ runner.temp }}
working-directory: ${{ github.workspace }}/..
env:
RCLONE_CONFIG_R2_ACCESS_KEY_ID: ${{ secrets.RCLONE_CONFIG_R2_ACCESS_KEY_ID }}
RCLONE_CONFIG_R2_ACL: ${{ secrets.RCLONE_CONFIG_R2_ACL }}
Expand Down

0 comments on commit ed619b0

Please sign in to comment.