Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
Update everything on README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed May 8, 2023
1 parent fb43b27 commit 19a01d0
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
[GitHub Pages](https://pages.github.com/) is an easy way to host SwiftWasm apps. Follow [the GitHub Pages guide](https://guides.github.com/features/pages/), and then use an appropriate action after running `carton bundle` to publish the results:

```yml
```yaml
name: Deploy to GitHub Pages
on:
Expand All @@ -43,18 +43,25 @@ on:
jobs:
swiftwasm_deploy:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: swiftwasm/swiftwasm-action@v5.7
- uses: swiftwasm/swiftwasm-action@v5.8
with:
shell-action: carton bundle
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
- uses: actions/upload-pages-artifact@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./Bundle
path: ./Bundle
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- id: deployment
uses: actions/deploy-pages@v2
```

0 comments on commit 19a01d0

Please sign in to comment.