-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
65 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -96,35 96,35 @@ jobs: | |
# command: test | ||
# args: --test interaction -- --ignored --test-threads=1 | ||
|
||
site: | ||
name: Deploy site | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event_name == 'push' }} | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: Swatinem/rust-cache@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: 1.80.1 | ||
override: true | ||
profile: minimal | ||
target: wasm32-unknown-unknown | ||
- uses: jetli/[email protected] | ||
with: | ||
version: 'latest' | ||
- name: Install yarn | ||
run: npm install yarn | ||
- name: Build app | ||
run: yarn run build | ||
- name: Deploy to Netlify | ||
uses: nwtgck/[email protected] | ||
with: | ||
publish-dir: './dist' | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
deploy-message: ${{ github.event.head_commit.message }} | ||
production-deploy: true | ||
production-branch: main | ||
env: | ||
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | ||
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | ||
timeout-minutes: 5 | ||
# site: | ||
# name: Deploy site | ||
# runs-on: ubuntu-latest | ||
# if: ${{ github.event_name == 'push' }} | ||
# steps: | ||
# - uses: actions/checkout@v2 | ||
# - uses: Swatinem/rust-cache@v2 | ||
# - uses: actions-rs/toolchain@v1 | ||
# with: | ||
# toolchain: 1.80.1 | ||
# override: true | ||
# profile: minimal | ||
# target: wasm32-unknown-unknown | ||
# - uses: jetli/[email protected] | ||
# with: | ||
# version: 'latest' | ||
# - name: Install yarn | ||
# run: npm install yarn | ||
# - name: Build app | ||
# run: yarn run build | ||
# - name: Deploy to Netlify | ||
# uses: nwtgck/[email protected] | ||
# with: | ||
# publish-dir: './dist' | ||
# github-token: ${{ secrets.GITHUB_TOKEN }} | ||
# deploy-message: ${{ github.event.head_commit.message }} | ||
# production-deploy: true | ||
# production-branch: main | ||
# env: | ||
# NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | ||
# NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | ||
# timeout-minutes: 5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters