Skip to content

Commit

Permalink
Update deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Phosphorus-M committed Jan 11, 2025
1 parent ed2fedd commit 608c4b8
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,20 @@ jobs:
needs: build
steps:
- uses: actions/download-artifact@v4
- name: Show artifact
run: |
ls -l .
ls -l ./dist
- name: Unpack artifact
run: |
tar -xvf ./dist/*.tar.gz -C ./artifact
- name: Show unpacked artifact
run: |
ls -l .
ls -l ./artifact
- name: Deploy
uses: cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy ./artifact --project-name=homepage
# command: pages deploy ./artifact --project-name=peru

0 comments on commit 608c4b8

Please sign in to comment.