Skip to content

Commit

Permalink
Merge pull request #2057 from oasisprotocol/lw/cloudflare-stable
Browse files Browse the repository at this point in the history
Cloudflare stable preview URLs
  • Loading branch information
lukaw3d authored Sep 20, 2024
2 parents dc5b937 + 7e85527 commit dd0ad14
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .changelog/2057.process.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Cloudflare stable preview URLs
6 changes: 6 additions & 0 deletions .github/workflows/cloudflare-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,8 @@ jobs:
projectName: oasis-wallet
# Use output directory of build command.
directory: build
branch: ${{ github.event_name == 'pull_request' && format('pr-{0}', github.event.pull_request.number) || '' }}
wranglerVersion: '3'
# On a subsequent run the original comment will be updated.
- name: Update PR comment
uses: mshick/add-pr-comment@v2
Expand All @@ -85,6 +87,10 @@ jobs:
<td><strong>Preview URL:</strong></td>
<td><a href="${{ steps.cloudflare.outputs.url }}">${{ steps.cloudflare.outputs.url }}</a></td>
</tr>
<tr>
<td><strong>Alias:</strong></td>
<td><a href="${{ steps.cloudflare.outputs.alias }}">${{ steps.cloudflare.outputs.alias }}</a></td>
</tr>
</table>
message-failure: |
## Deployed to <a href="https://pages.dev">Cloudflare Pages</a>
Expand Down

0 comments on commit dd0ad14

Please sign in to comment.